Searched refs:collections_abc (Results 1 – 6 of 6) sorted by relevance
/third_party/protobuf/python/google/protobuf/internal/ |
D | _parameterized.py | 161 import collections.abc as collections_abc namespace 164 import collections as collections_abc namespace 183 return (isinstance(obj, collections_abc.Iterable) and not 188 if isinstance(testcase_params, collections_abc.Mapping): 231 if isinstance(testcase_params, collections_abc.Mapping): 300 list(testcases) if not isinstance(testcases, collections_abc.Sequence)
|
D | containers.py | 48 import collections.abc as collections_abc namespace 50 import collections as collections_abc namespace 114 if not isinstance(other, collections_abc.Mapping): 181 collections_abc.Mapping.register(Mapping) 182 collections_abc.MutableMapping.register(MutableMapping) 187 MutableMapping = collections_abc.MutableMapping 235 collections_abc.MutableSequence.register(BaseContainer)
|
D | well_known_types.py | 50 import collections.abc as collections_abc namespace 53 import collections as collections_abc namespace 807 collections_abc.MutableMapping.register(Struct) 853 collections_abc.MutableSequence.register(ListValue)
|
D | well_known_types_test.py | 41 import collections.abc as collections_abc namespace 44 import collections as collections_abc namespace 757 self.assertIsInstance(struct, collections_abc.Mapping) 766 self.assertIsInstance(struct_list, collections_abc.Sequence)
|
D | message_test.py | 59 import collections.abc as collections_abc namespace 62 import collections as collections_abc namespace 787 self.assertIsInstance(m.repeated_int32, collections_abc.MutableSequence) 789 collections_abc.MutableSequence) 2462 self.assertIsInstance(msg.map_int32_int32, collections_abc.Mapping) 2463 self.assertIsInstance(msg.map_int32_int32, collections_abc.MutableMapping) 2464 self.assertIsInstance(msg.map_int32_foreign_message, collections_abc.Mapping) 2466 collections_abc.MutableMapping)
|
/third_party/python/Modules/_decimal/ |
D | _decimal.c | 5673 PyObject *collections_abc = NULL; in PyInit__decimal() local 5743 ASSIGN_PTR(collections_abc, PyImport_ImportModule("collections.abc")); in PyInit__decimal() 5744 ASSIGN_PTR(MutableMapping, PyObject_GetAttrString(collections_abc, in PyInit__decimal() 5755 Py_CLEAR(collections_abc); in PyInit__decimal() 5924 Py_CLEAR(collections_abc); /* GCOV_NOT_REACHED */ in PyInit__decimal()
|