Searched refs:MyDict (Results 1 – 9 of 9) sorted by relevance
/external/python/six/ |
D | test_six.py | 391 class MyDict(dict): class 397 f = MyDict.iterlists 398 del MyDict.iterlists 399 setattr(MyDict, stock_method_name('lists'), f) 401 d = MyDict(zip(range(10), reversed(range(10)))) 412 old = getattr(MyDict, stock_method_name(name)) 413 monkeypatch.setattr(MyDict, stock_method_name(name), with_kw) 751 class MyDict(dict): class 758 namespace = MyDict(super().__prepare__(name, bases), cls=cls, bases=bases) 772 assert isinstance(getattr(X, 'namespace', {}), MyDict)
|
/external/python/cpython2/Lib/test/ |
D | pickletester.py | 968 d = MyDict() 972 self.assertIsInstance(x, MyDict) 977 d = MyDict() 982 self.assertIsInstance(x, MyDict) 1046 self.check_recursive_collection_and_inst(MyDict.fromkeys) 1669 class MyDict(dict): class 1675 MyTuple, MyList, MyDict]
|
D | test_dict.py | 686 class MyDict(dict): class 688 self._tracked(MyDict())
|
D | test_functools.py | 36 class MyDict(dict): class 221 f.__setstate__((capture, MyTuple((1,)), MyDict(a=10), None))
|
/external/python/cpython3/Lib/test/ |
D | test_typing.py | 1017 class MyDict(typing.Dict[T, T]): ... class 1018 self.assertIs(MyDict[int]().__class__, MyDict) 1019 self.assertIs(MyDict[int]().__orig_class__, MyDict[int]) 2052 class MyDict(typing.Dict[str, int]): class 2055 d = MyDict() 2056 self.assertIsInstance(d, MyDict) 2059 self.assertIsSubclass(MyDict, dict) 2060 self.assertNotIsSubclass(dict, MyDict)
|
D | pickletester.py | 1366 d = MyDict() 1371 self.assertIsInstance(x, MyDict) 1376 d = MyDict() 1382 self.assertIsInstance(x, MyDict) 1446 self.check_recursive_collection_and_inst(MyDict.fromkeys) 2671 class MyDict(dict): class 2683 MyTuple, MyList, MyDict, MySet, MyFrozenSet]
|
D | test_dict.py | 890 class MyDict(dict): class 892 self._tracked(MyDict())
|
D | test_functools.py | 51 class MyDict(dict): class 309 f.__setstate__((capture, MyTuple((1,)), MyDict(a=10), None))
|
/external/python/cpython3/Doc/library/ |
D | typing.rst | 281 class MyDict(Mapping[str, T]): 284 In this case ``MyDict`` has a single parameter, ``T``.
|