Home
last modified time | relevance | path

Searched refs:__or__ (Results 1 – 24 of 24) sorted by relevance

/third_party/python/Lib/
Dnumbers.py364 def __or__(self, other): member in Integral
Denum.py908 def __or__(self, other): member in Flag
980 def __or__(self, other): member in IntFlag
996 __ror__ = __or__
Dweakref.py320 def __or__(self, other): member in WeakValueDictionary
525 def __or__(self, other): member in WeakKeyDictionary
D_weakrefset.py198 __or__ = union variable in WeakSet
Dtyping.py388 def __or__(self, other): member in _SpecialForm
731 def __or__(self, right): member in _TypeVarLike
1026 def __or__(self, right): member in _GenericAlias
1147 def __or__(self, right): member in _SpecialGenericAlias
2467 def __or__(self, other): member in NewType
D_collections_abc.py641 def __or__(self, other): member in Set
647 __ror__ = __or__
Doperator.py435 __or__ = or_ variable
Dos.py723 def __or__(self, other): member in _Environ
/third_party/python/Lib/test/
Dtest_augassign.py190 def __or__(self, val): member in AugAssignTest.testCustomMethods2.testall
Dtest_dict.py62 self.assertIs(a.__or__(None), NotImplemented)
63 self.assertIs(a.__or__(()), NotImplemented)
64 self.assertIs(a.__or__("BAD"), NotImplemented)
65 self.assertIs(a.__or__(""), NotImplemented)
Dtest_collections.py2215 (Counter.__or__, lambda x, y: max(0,x,y)),
2232 (Counter.__or__, set.__or__),
2250 (Counter.__ior__, Counter.__or__),
Dtest_os.py1196 self.assertIs(NotImplemented, os.environ.__or__(new_vars_items))
/third_party/python/Lib/collections/
D__init__.py297 def __or__(self, other): member in OrderedDict
828 def __or__(self, other): member in Counter
1064 def __or__(self, other): member in ChainMap
1121 def __or__(self, other): member in UserDict
/third_party/boost/libs/python/doc/reference/
Doperators.qbk123 [[`self | r`][`__or__`][`x | y`]]
/third_party/python/Doc/library/
Dcollections.abc.rst148 … ``__iter__``, ``__gt__``, ``__ge__``, ``__and__``, ``__or__``,
Doperator.rst161 __or__(a, b)
Dstdtypes.rst5067 The :meth:`__or__` method for type objects was added to support the syntax
5068 ``X | Y``. If a metaclass implements :meth:`__or__`, the Union may
5072 ... def __or__(self, other):
Dunittest.mock.rst2025 ``__rshift__``, ``__and__``, ``__xor__``, ``__or__``, and ``__pow__``
/third_party/mindspore/mindspore/_extends/parse/
Dstandard_method.py1672 return x.__or__(y)
/third_party/protobuf/python/google/protobuf/internal/
Dtest_util.py832 def __or__(self, y): member in NonStandardInteger
/third_party/python/Doc/reference/
Dexpressions.rst1372 must be integers or one of them must be a custom object overriding :meth:`__or__` or
Ddatamodel.rst2549 object.__or__(self, other)
/third_party/python/Doc/c-api/
Dtypeobj.rst264 …`~PyNumberMethods.nb_or` | :c:type:`binaryfunc` | __or__ |
/third_party/python/Misc/
DHISTORY31903 "and" are reserved words). ("__or__" and "__and__" are unchanged.)