Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
D_typecheck.py85 def __instancecheck__(self, instance): member in Union
95 def __instancecheck__(self, instance): member in Optional
106 def __instancecheck__(self, instance): member in List
117 def __instancecheck__(self, instance): member in Sequence
133 def __instancecheck__(self, instance): member in Collection
147 def __instancecheck__(self, instance): member in Tuple
159 def __instancecheck__(self, instance): member in Mapping
172 def __instancecheck__(self, instance): member in Dict
174 and super(Dict, self).__instancecheck__(instance))
/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.py137 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
707 def __instancecheck__(self, obj): member in _GenericAlias
1095 def __instancecheck__(self, obj): member in _ProtocolMeta
1097 return super().__instancecheck__(obj)
/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/protobuf/python/google/protobuf/
Ddescriptor.py64 def __instancecheck__(cls, obj): member in DescriptorMetaclass
65 if super(DescriptorMetaclass, cls).__instancecheck__(obj):
/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/python/cpython3/Doc/c-api/
Dobject.rst238 If *cls* has a :meth:`~class.__instancecheck__` method, it will be called to
/external/python/cpython3/Objects/
Dabstract.c2374 _Py_IDENTIFIER(__instancecheck__); in PyObject_IsInstance()
/external/tensorflow/tensorflow/contrib/eager/python/examples/workshop/
D2_models.ipynb959 " 2321 0.004 0.000 0.007 0.000 abc.py:178(__instancecheck__)\n",
/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.rst2023 .. method:: class.__instancecheck__(self, instance)
2046 :func:`issubclass` behavior through :meth:`~class.__instancecheck__` and
/external/python/cpython3/Doc/library/
Dunittest.mock.rst1720 * ``__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