/third_party/python/Lib/ |
D | keyword.py | 62 iskeyword = frozenset(kwlist).__contains__ 63 issoftkeyword = frozenset(softkwlist).__contains__
|
D | filecmp.py | 147 self.common = list(map(a.__getitem__, filter(b.__contains__, a))) 148 self.left_only = list(map(a.__getitem__, filterfalse(b.__contains__, a))) 149 self.right_only = list(map(b.__getitem__, filterfalse(a.__contains__, b))) 295 return list(filterfalse(skip.__contains__, flist))
|
D | _collections_abc.py | 393 def __contains__(self, x): member in Container 820 def __contains__(self, key): member in Mapping 874 def __contains__(self, key): member in KeysView 892 def __contains__(self, item): member in ItemsView 913 def __contains__(self, value): member in ValuesView 1041 def __contains__(self, value): member in Sequence
|
D | shelve.py | 101 def __contains__(self, key): member in Shelf
|
D | tracemalloc.py | 209 def __contains__(self, frame): member in Traceback 326 def __contains__(self, trace): member in _Traces
|
/third_party/python/Lib/test/ |
D | test_contains.py | 11 def __contains__(self, el): member in myset 85 def __contains__(self, other): member in TestContains.test_block_fallback.ByContains 102 __contains__ = None variable in TestContains.test_block_fallback.BlockContains
|
D | test_collections.py | 236 def __contains__(self, key): member in TestChainMap.test_new_child.lowerdict 239 return dict.__contains__(self, key) 1066 def __contains__(self, item): member in TestOneTrickPonyABCs.test_Collection.Col 1082 def __contains__(self, item): return False member in TestOneTrickPonyABCs.test_Collection.ColNoIter 1085 def __contains__(self, item): return False member in TestOneTrickPonyABCs.test_Collection.ColNoSize 1098 def __contains__(self): return False member in TestOneTrickPonyABCs.test_Collection.SizeBlock 1102 def __contains__(self): return True member in TestOneTrickPonyABCs.test_Collection.IterBlock 1114 def __contains__(self, item): member in TestOneTrickPonyABCs.test_Collection.ColImpl 1117 __contains__ = None variable in TestOneTrickPonyABCs.test_Collection.NonCol 1381 def __contains__(self, item): member in WithSet [all …]
|
D | test_dictviews.py | 293 self.assertRaises(Exc, d.__contains__, k2) 294 self.assertRaises(Exc, d.keys().__contains__, k2) 295 self.assertRaises(Exc, d.items().__contains__, (k2, v1)) 296 self.assertRaises(Exc, d.items().__contains__, (k1, v2))
|
D | test_call.py | 35 self.assertRaisesRegex(TypeError, msg, {}.__contains__) 39 self.assertRaisesRegex(TypeError, msg, {}.__contains__, 0, 1) 66 self.assertRaisesRegex(TypeError, msg, {}.__contains__, x=2) 70 self.assertRaisesRegex(TypeError, msg, {}.__contains__, x=2, y=2)
|
/third_party/python/Doc/library/ |
D | collections.abc.rst | 77 ``__contains__``, ``__iter__``, and ``__reversed__`` because the 123 :class:`Container` [1]_ ``__contains__`` 131 :class:`Collection` [1]_ :class:`Sized`, ``__contains__``, 135 :class:`Sequence` :class:`Reversible`, ``__getitem__``, ``__contains__``, ``_… 147 :class:`Set` :class:`Collection` ``__contains__``, ``__le__``, ``__lt__`… 151 :class:`MutableSet` :class:`Set` ``__contains__``, Inherited :class:`Set… 157 :class:`Mapping` :class:`Collection` ``__getitem__``, ``__contains__``, ``k… 169 :class:`ItemsView` :class:`MappingView`, ``__contains__``, 171 :class:`KeysView` :class:`MappingView`, ``__contains__``, 173 :class:`ValuesView` :class:`MappingView`, ``__contains__``, ``_… [all …]
|
/third_party/python/Lib/importlib/metadata/ |
D | _text.py | 82 def __contains__(self, other): member in FoldedCase 83 return super(FoldedCase, self).lower().__contains__(other.lower())
|
D | _itertools.py | 11 for element in filterfalse(seen.__contains__, iterable):
|
D | _meta.py | 11 def __contains__(self, item: str) -> bool: member in PackageMetadata
|
/third_party/python/PC/layout/support/ |
D | filesets.py | 27 def __contains__(self, f): member in FileStemSet 61 def __contains__(self, f): member in FileSuffixSet
|
/third_party/mbedtls/scripts/ |
D | config.py | 66 def __contains__(self, name): member in Config 76 return all(self.__contains__(name) for name in names) 80 return any(self.__contains__(name) for name in names)
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | namespace.py | 36 def __contains__(self, name): member in Namespace
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | containers.py | 82 def __contains__(self, key): member in Mapping 494 def __contains__(self, item): member in ScalarMap 610 def __contains__(self, item): member in MessageMap
|
D | extension_dict.py | 199 def __contains__(self, extension_handle): member in _ExtensionDict
|
/third_party/python/Lib/wsgiref/ |
D | util.py | 168 }.__contains__
|
D | headers.py | 77 def __contains__(self, name): member in Headers
|
/third_party/grpc/src/python/grpcio/grpc/aio/ |
D | _metadata.py | 100 def __contains__(self, key: MetadataKey) -> bool: member in Metadata
|
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/ |
D | _metadata.py | 100 def __contains__(self, key: MetadataKey) -> bool: member in Metadata
|
/third_party/python/Objects/ |
D | dictnotes.txt | 46 to the same key. There are similar use cases with a __contains__ 53 Many calls to __contains__() or has_key().
|
/third_party/mindspore/mindspore/_extends/parallel_compile/tbe_compiler/ |
D | compiler.py | 47 if not arg or not arg.__contains__('range'):
|
/third_party/python/Lib/xml/sax/ |
D | xmlreader.py | 323 def __contains__(self, name): member in AttributesImpl
|