Home
last modified time | relevance | path

Searched refs:__subclasshook__ (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Lib/
D_collections_abc.py93 def __subclasshook__(cls, C): member in Hashable
108 def __subclasshook__(cls, C): member in Awaitable
149 def __subclasshook__(cls, C): member in Coroutine
167 def __subclasshook__(cls, C): member in AsyncIterable
186 def __subclasshook__(cls, C): member in AsyncIterator
233 def __subclasshook__(cls, C): member in AsyncGenerator
253 def __subclasshook__(cls, C): member in Iterable
272 def __subclasshook__(cls, C): member in Iterator
303 def __subclasshook__(cls, C): member in Reversible
350 def __subclasshook__(cls, C): member in Generator
[all …]
Dcontextlib.py28 def __subclasshook__(cls, C): member in AbstractContextManager
48 def __subclasshook__(cls, C): member in AbstractAsyncContextManager
D_py_abc.py123 ok = cls.__subclasshook__(subclass)
Dos.py1077 def __subclasshook__(cls, subclass): member in PathLike
/external/python/cpython2/Lib/
D_abcoll.py40 def __subclasshook__(cls, C): member in Hashable
64 def __subclasshook__(cls, C): member in Iterable
84 def __subclasshook__(cls, C): member in Iterator
99 def __subclasshook__(cls, C): member in Sized
114 def __subclasshook__(cls, C): member in Container
129 def __subclasshook__(cls, C): member in Callable
Dabc.py161 ok = cls.__subclasshook__(subclass)
/external/python/cpython2/Doc/library/
Dabc.rst62 .. method:: __subclasshook__(subclass)
104 def __subclasshook__(cls, C):
118 The :meth:`__subclasshook__` class method defined here says that any class
/external/python/cpython3/Doc/library/
Dabc.rst94 .. method:: __subclasshook__(subclass)
135 def __subclasshook__(cls, C):
149 The :meth:`__subclasshook__` class method defined here says that any class
/external/python/cpython3/Modules/
D_abc.c21 _Py_IDENTIFIER(__subclasshook__);
/external/python/cpython3/Lib/test/
Dtest_pydoc.py646 expected['__subclasshook__'] = TestClass.__subclasshook__
Dtest_typing.py2304 def __subclasshook__(cls, other): member in CollectionsAbcTests.test_subclassing_subclasshook.Base
/external/python/cpython3/Doc/faq/
Dgeneral.rst421 '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear',
/external/python/cpython2/Doc/faq/
Dgeneral.rst426 '__subclasshook__', 'append', 'count', 'extend', 'index', 'insert',