Home
last modified time | relevance | path

Searched refs:MyDict (Results 1 – 9 of 9) sorted by relevance

/external/python/six/
Dtest_six.py391 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/
Dpickletester.py968 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]
Dtest_dict.py686 class MyDict(dict): class
688 self._tracked(MyDict())
Dtest_functools.py36 class MyDict(dict): class
221 f.__setstate__((capture, MyTuple((1,)), MyDict(a=10), None))
/external/python/cpython3/Lib/test/
Dtest_typing.py1017 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)
Dpickletester.py1366 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]
Dtest_dict.py890 class MyDict(dict): class
892 self._tracked(MyDict())
Dtest_functools.py51 class MyDict(dict): class
309 f.__setstate__((capture, MyTuple((1,)), MyDict(a=10), None))
/external/python/cpython3/Doc/library/
Dtyping.rst281 class MyDict(Mapping[str, T]):
284 In this case ``MyDict`` has a single parameter, ``T``.