Home
last modified time | relevance | path

Searched refs:runtime_checkable (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/importlib/
Dabc.py17 from typing import Protocol, runtime_checkable
392 @runtime_checkable
/external/python/cpython3/Lib/test/
Dtest_typing.py16 from typing import cast, runtime_checkable
635 @runtime_checkable
650 @runtime_checkable
654 @runtime_checkable
674 @runtime_checkable
681 @runtime_checkable
703 @runtime_checkable
771 @runtime_checkable
793 @runtime_checkable
829 @runtime_checkable
[all …]
/external/python/cpython3/Lib/
Dtyping.py1301 def runtime_checkable(cls): function
1723 @runtime_checkable
1733 @runtime_checkable
1743 @runtime_checkable
1753 @runtime_checkable
1763 @runtime_checkable
1773 @runtime_checkable
1783 @runtime_checkable
/external/python/cpython3/Doc/library/
Dtyping.rst896 :func:`runtime_checkable` (described later) act as simple-minded runtime
908 .. decorator:: runtime_checkable
917 @runtime_checkable
925 :func:`runtime_checkable` will check only the presence of the required methods,
1522 These protocols are decorated with :func:`runtime_checkable`.
/external/python/cpython3/Misc/NEWS.d/
D3.8.0b1.rst614 PEP 544: Add ``Protocol`` and ``@runtime_checkable`` to the ``typing``
/external/python/cpython3/Doc/whatsnew/
D3.8.rst1336 :func:`typing.runtime_checkable`. Simple ABCs like