/external/python/cpython3/Lib/ |
D | _collections_abc.py | 95 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.py | 123 ok = cls.__subclasshook__(subclass)
|
D | contextlib.py | 31 def __subclasshook__(cls, C): member in AbstractContextManager 53 def __subclasshook__(cls, C): member in AbstractAsyncContextManager
|
D | os.py | 1074 def __subclasshook__(cls, subclass): member in PathLike
|
D | typing.py | 1190 cls.__subclasshook__ = _proto_hook
|
/external/python/cpython2/Lib/ |
D | _abcoll.py | 40 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
|
D | abc.py | 161 ok = cls.__subclasshook__(subclass)
|
/external/python/cpython2/Doc/library/ |
D | abc.rst | 62 .. 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/ |
D | abc.rst | 94 .. 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.c | 20 _Py_IDENTIFIER(__subclasshook__);
|
/external/python/cpython3/Lib/test/ |
D | test_pydoc.py | 776 expected['__subclasshook__'] = TestClass.__subclasshook__
|
D | test_typing.py | 1112 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/ |
D | 3.9.0a3.rst | 687 Fixed __subclasshook__ of :class:`os.PathLike` to return a correct result
|
/external/python/cpython3/Doc/faq/ |
D | general.rst | 418 '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear',
|
/external/python/cpython2/Doc/faq/ |
D | general.rst | 426 '__subclasshook__', 'append', 'count', 'extend', 'index', 'insert',
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 265 Modules/_abc.c:PyId___subclasshook__ _Py_IDENTIFIER(__subclasshook__)
|
D | known.tsv | 1397 Modules/_abc.c - PyId___subclasshook__ variable _Py_IDENTIFIER(__subclasshook__)
|