Searched refs:_collections_abc (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython3/Lib/collections/ |
D | abc.py | 1 from _collections_abc import * 2 from _collections_abc import __all__
|
D | __init__.py | 29 import _collections_abc 47 _collections_abc.MutableSequence.register(deque) 59 if name in _collections_abc.__all__: 60 obj = getattr(_collections_abc, name) 75 class _OrderedDictKeysView(_collections_abc.KeysView): 80 class _OrderedDictItemsView(_collections_abc.ItemsView): 86 class _OrderedDictValuesView(_collections_abc.ValuesView): 232 update = __update = _collections_abc.MutableMapping.update 246 __ne__ = _collections_abc.MutableMapping.__ne__ 670 if isinstance(iterable, _collections_abc.Mapping): [all …]
|
/external/tensorflow/tensorflow/python/util/ |
D | nest.py | 53 from tensorflow.python.util.compat import collections_abc as _collections_abc unknown 240 elif isinstance(iterable, (dict, _collections_abc.Mapping)): 1058 elif not (isinstance(shallow_tree, _collections_abc.Mapping) and 1059 isinstance(input_tree, _collections_abc.Mapping)): 1097 if isinstance(shallow_tree, _collections_abc.Mapping): 1669 _pywrap_utils.RegisterType("Mapping", _collections_abc.Mapping) 1670 _pywrap_utils.RegisterType("MutableMapping", _collections_abc.MutableMapping) 1671 _pywrap_utils.RegisterType("Sequence", _collections_abc.Sequence) 1672 _pywrap_utils.RegisterType("MappingView", _collections_abc.MappingView)
|
/external/python/cpython3/Lib/ |
D | weakref.py | 24 import _collections_abc # Import after _weakref to avoid circular import. 36 _collections_abc.Set.register(WeakSet) 37 _collections_abc.MutableSet.register(WeakSet) 93 class WeakValueDictionary(_collections_abc.MutableMapping): 318 if isinstance(other, _collections_abc.Mapping): 325 if isinstance(other, _collections_abc.Mapping): 354 class WeakKeyDictionary(_collections_abc.MutableMapping): 515 if isinstance(other, _collections_abc.Mapping): 522 if isinstance(other, _collections_abc.Mapping):
|
D | types.py | 275 import _collections_abc 283 if (isinstance(coro, _collections_abc.Generator) and 284 not isinstance(coro, _collections_abc.Coroutine)):
|
D | contextlib.py | 4 import _collections_abc 33 return _collections_abc._check_methods(C, "__enter__", "__exit__") 55 return _collections_abc._check_methods(C, "__aenter__",
|
D | locale.py | 17 import _collections_abc 217 if isinstance(val, _collections_abc.Mapping):
|
D | os.py | 29 from _collections_abc import _check_methods 664 from _collections_abc import MutableMapping, Mapping
|
D | random.py | 53 from _collections_abc import Set as _Set, Sequence as _Sequence
|
D | pathlib.py | 9 from _collections_abc import Sequence
|
/external/tensorflow/tensorflow/python/data/util/ |
D | nest.py | 43 from tensorflow.python.util.compat import collections_abc as _collections_abc unknown 55 if isinstance(iterable, _collections_abc.Mapping): 286 if check_types and isinstance(shallow_tree, _collections_abc.Mapping):
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 13 **Source code:** :source:`Lib/_collections_abc.py`
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3790 - Issue #19218: Rename collections.abc to _collections_abc in order to
|