Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cda422 commit 75e13a0Copy full SHA for 75e13a0
third_party/2and3/typing_extensions.pyi
@@ -1,5 +1,5 @@
1
import sys
2
-import typing
+from typing import Callable
3
from typing import ClassVar as ClassVar
4
from typing import ContextManager as ContextManager
5
from typing import Counter as Counter
@@ -13,11 +13,14 @@ from typing import Type as Type
13
from typing import TYPE_CHECKING as TYPE_CHECKING
14
from typing import TypeVar, Any
15
16
+_F = TypeVar('_F', bound=Callable[..., Any])
17
_TC = TypeVar('_TC', bound=Type[object])
18
class _SpecialForm:
19
def __getitem__(self, typeargs: Any) -> Any: ...
20
def runtime(cls: _TC) -> _TC: ...
21
Protocol: _SpecialForm = ...
22
+Final: _SpecialForm = ...
23
+def final(f: _F) -> _F: ...
24
25
if sys.version_info >= (3, 3):
26
from typing import ChainMap as ChainMap
0 commit comments