/third_party/python/Lib/test/ |
H A D | test_userdict.py | 1 # Check every path through every method of UserDict 15 type2test = collections.UserDict 19 u = collections.UserDict() 20 u0 = collections.UserDict(d0) 21 u1 = collections.UserDict(d1) 22 u2 = collections.UserDict(d2) 24 uu = collections.UserDict(u) 25 uu0 = collections.UserDict(u0) 26 uu1 = collections.UserDict(u1) 27 uu2 = collections.UserDict(u [all...] |
H A D | mapping_tests.py | 1 # tests common to dict and UserDict 194 # FIXME: Doesn't work with UserDict 442 return collections.UserDict() 445 self.assertIsInstance(ud, collections.UserDict) 570 return collections.UserDict() 573 self.assertIsInstance(ud, collections.UserDict)
|
H A D | test_funcattrs.py | 314 from collections import UserDict namespace 315 d = UserDict({'known_attr': 7})
|
H A D | test_collections.py | 18 from collections import UserDict, UserString, UserList namespace 62 self._superset_test(UserDict, dict) 70 obj = UserDict() 200 class DictWithGetItem(UserDict): 203 UserDict.__init__(self, *args, **kwds) 206 UserDict.__getitem__(self, item) 1861 mymap = UserDict() 1870 mymap = UserDict() 1878 mymap = UserDict()
|
H A D | test_genericalias.py | 7 defaultdict, deque, OrderedDict, Counter, UserDict, UserList 96 OrderedDict, Counter, UserDict, UserList,
|
H A D | test_pprint.py | 1176 d = collections.UserDict() 1179 d = collections.UserDict(zip(words, itertools.count()))
|
H A D | test_patma.py | 47 class M1(collections.UserDict, collections.abc.Sequence): 49 class M2(C, collections.UserDict, collections.abc.Sequence): 51 class M3(collections.UserDict, C, list): 2534 x = collections.UserDict({0: 1, 2: 3}) 2542 x = collections.UserDict({0: 1, 2: 3})
|
H A D | test_dict.py | 286 return collections.UserDict() 289 self.assertIsInstance(ud, collections.UserDict)
|
H A D | pickletester.py | 1174 # UserDict.UserDict({1: 2}), UserDict.IterableUserDict({1: 2}) 1175 for name in (b'UserDict', b'IterableUserDict'): 1179 self.assertIs(type(unpickled), collections.UserDict) 1180 self.assertEqual(unpickled, collections.UserDict({1: 2})) 2868 (collections.UserDict(), 'UserDict', 'IterableUserDict'),
|
H A D | test_functools.py | 2291 from collections import UserDict namespace 2294 class TracingDict(UserDict):
|
H A D | test_configparser.py | 14 class SortedDict(collections.UserDict):
|
H A D | test_builtin.py | 681 eval('[locals() for i in (2,3)]', g, collections.UserDict())
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | sandbox.py | 61 from UserDict import UserDict, DictMixin namespace 64 _mutable_mapping_types += (UserDict, DictMixin) 234 the "user"-versions of the objects (`sets.Set`, `UserDict.*` etc.) and
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | sandbox.py | 67 from UserDict import UserDict, DictMixin namespace 69 _mutable_mapping_types += (UserDict, DictMixin) 210 the "user"-versions of the objects (`sets.Set`, `UserDict.*` etc.) and
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | sandbox.py | 61 from UserDict import UserDict, DictMixin namespace 64 _mutable_mapping_types += (UserDict, DictMixin) 234 the "user"-versions of the objects (`sets.Set`, `UserDict.*` etc.) and
|
/third_party/python/Lib/collections/ |
H A D | __init__.py | 11 * UserDict wrapper around dictionary objects for easier dict subclassing 21 'UserDict', 1103 ### UserDict 1106 class UserDict(_collections_abc.MutableMapping): class 1144 if isinstance(other, UserDict): 1151 if isinstance(other, UserDict): 1158 if isinstance(other, UserDict): 1172 if self.__class__ is UserDict: 1173 return UserDict(self.data.copy())
|
/third_party/python/Lib/ |
H A D | pprint.py | 539 _dispatch[_collections.UserDict.__repr__] = _pprint_user_dict
|