Home
last modified time | relevance | path

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

/third_party/PyYAML/tests/data/
Dconstruct-python-object.code24 MyDict(3),
Dconstruct-python-object.data23 - !!python/object/new:test_constructor.MyDict { dictitems: {0, 1, 2} }
/third_party/mindspore/tests/ut/python/dataset/
Dtest_iterator.py154 class MyDict(dict): class
171 data1 = data.map(operations=[MyDict()])
/third_party/PyYAML/tests/lib/
Dtest_constructor.py19 NewArgs, NewArgsWithState, Reduce, ReduceWithState, Slots, MyInt, MyList, MyDict, \
210 class MyDict(dict): class
/third_party/python/Lib/test/
Dpickletester.py1572 self._test_recursive_dict(MyDict, minprotocol=2)
1607 self._test_recursive_tuple_and_dict(MyDict, minprotocol=2)
1630 self._test_recursive_dict_key(MyDict, minprotocol=2)
1667 self._test_recursive_tuple_and_dict_key(MyDict, minprotocol=2)
1767 self._test_recursive_collection_and_inst(MyDict.fromkeys)
3264 class MyDict(dict): class
3276 MyTuple, MyList, MyDict, MySet, MyFrozenSet]
Dtest_typing.py2054 class MyDict(typing.Dict[T, T]): ... class
2055 self.assertIs(MyDict[int]().__class__, MyDict)
2056 self.assertEqual(MyDict[int]().__orig_class__, MyDict[int])
3535 class MyDict(typing.Dict[str, int]): class
3538 d = MyDict()
3539 self.assertIsInstance(d, MyDict)
3542 self.assertIsSubclass(MyDict, dict)
3543 self.assertNotIsSubclass(dict, MyDict)
Dtest_dict.py979 class MyDict(dict): class
981 self._tracked(MyDict())
Dtest_functools.py59 class MyDict(dict): class
318 f.__setstate__((capture, MyTuple((1,)), MyDict(a=10), None))
/third_party/python/Doc/library/
Dtyping.rst343 class MyDict(Mapping[str, T]):
346 In this case ``MyDict`` has a single parameter, ``T``.