Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
D_collections_abc.py95 def __subclasshook__(cls, C): member in Hashable
110 def __subclasshook__(cls, C): member in Awaitable
153 def __subclasshook__(cls, C): member in Coroutine
171 def __subclasshook__(cls, C): member in AsyncIterable
192 def __subclasshook__(cls, C): member in AsyncIterator
239 def __subclasshook__(cls, C): member in AsyncGenerator
259 def __subclasshook__(cls, C): member in Iterable
280 def __subclasshook__(cls, C): member in Iterator
312 def __subclasshook__(cls, C): member in Reversible
359 def __subclasshook__(cls, C): member in Generator
[all …]
D_py_abc.py123 ok = cls.__subclasshook__(subclass)
Dcontextlib.py31 def __subclasshook__(cls, C): member in AbstractContextManager
53 def __subclasshook__(cls, C): member in AbstractAsyncContextManager
Dos.py1074 def __subclasshook__(cls, subclass): member in PathLike
Dtyping.py1190 cls.__subclasshook__ = _proto_hook
/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.c20 _Py_IDENTIFIER(__subclasshook__);
/external/python/cpython3/Lib/test/
Dtest_pydoc.py776 expected['__subclasshook__'] = TestClass.__subclasshook__
Dtest_typing.py1112 def __subclasshook__(cls, other): member in ProtocolTests.test_custom_subclasshook.C
3510 def __subclasshook__(cls, other): member in CollectionsAbcTests.test_subclassing_subclasshook.Base
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a3.rst687 Fixed __subclasshook__ of :class:`os.PathLike` to return a correct result
/external/python/cpython3/Doc/faq/
Dgeneral.rst418 '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear',
/external/python/cpython2/Doc/faq/
Dgeneral.rst426 '__subclasshook__', 'append', 'count', 'extend', 'index', 'insert',
/external/python/cpython3/Tools/c-analyzer/
DTODO265 Modules/_abc.c:PyId___subclasshook__ _Py_IDENTIFIER(__subclasshook__)
Dknown.tsv1397 Modules/_abc.c - PyId___subclasshook__ variable _Py_IDENTIFIER(__subclasshook__)