Home
last modified time | relevance | path

Searched refs:__instancecheck__ (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_typechecks.py9 def __instancecheck__(cls, inst): member in ABC
77 def __instancecheck__(self, inst): member in TypeChecksTest.test_oldstyle.X
/external/python/cpython3/Lib/
Dabc.py96 def __instancecheck__(cls, instance): member in ABCMeta
D_py_abc.py92 def __instancecheck__(cls, instance): member in ABCMeta
Dtyping.py331 def __instancecheck__(self, obj): member in _SpecialForm
696 def __instancecheck__(self, obj): member in _BaseGenericAlias
1092 def __instancecheck__(cls, instance): member in _ProtocolMeta
1106 return super().__instancecheck__(instance)
1932 __instancecheck__ = __subclasscheck__ variable in _TypedDictMeta
Dast.py520 def __instancecheck__(cls, inst): member in _ABC
533 return type.__instancecheck__(cls, inst)
/external/python/cpython3/Lib/test/
Dtest_typechecks.py8 def __instancecheck__(cls, inst): member in ABC
/external/python/cpython2/Lib/
Dabc.py128 def __instancecheck__(cls, instance): member in ABCMeta
/external/python/cpython2/Misc/NEWS.d/
D2.6rc1.rst82 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the
84 of classes as second argument, were looking up __instancecheck__ /
D2.7a1.rst591 ``__instancecheck__()`` and ``__subclasscheck__()`` are now completely
/external/protobuf/python/google/protobuf/
Ddescriptor.py65 def __instancecheck__(cls, obj): member in DescriptorMetaclass
66 if super(DescriptorMetaclass, cls).__instancecheck__(obj):
/external/tensorflow/tensorflow/python/distribute/
Dcollective_all_reduce_strategy.py222 def __instancecheck__(cls, instance): member in _CollectiveAllReduceStrategyExperimentalMeta
/external/python/cpython3/Doc/c-api/
Dobject.rst239 If *cls* has a :meth:`~class.__instancecheck__` method, it will be called to
/external/python/cpython3/Objects/
Dabstract.c2485 _Py_IDENTIFIER(__instancecheck__); in object_recursive_isinstance()
/external/python/cpython3/Tools/c-analyzer/
DTODO339 Objects/abstract.c:PyObject_IsInstance():PyId___instancecheck__ _Py_IDENTIFIER(__instancecheck__)
Dknown.tsv1176 …ts/abstract.c PyObject_IsInstance PyId___instancecheck__ variable _Py_IDENTIFIER(__instancecheck__)
/external/python/cpython2/Doc/reference/
Ddatamodel.rst1803 .. method:: class.__instancecheck__(self, instance)
1826 :func:`issubclass` behavior through :meth:`~class.__instancecheck__` and
/external/python/cpython3/Doc/reference/
Ddatamodel.rst2110 .. method:: class.__instancecheck__(self, instance)
2133 :func:`issubclass` behavior through :meth:`~class.__instancecheck__` and
/external/python/cpython3/Doc/library/
Dunittest.mock.rst2044 * ``__prepare__``, ``__instancecheck__``, ``__subclasscheck__``, ``__del__``
/external/python/cpython3/Misc/
DHISTORY16306 match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__
16309 __instancecheck__ / __subclasscheck__ on the tuple rather than on each