File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ from typing import Deque as Deque
8
8
from typing import NewType as NewType
9
9
from typing import overload as overload
10
10
from typing import Text as Text
11
+ from typing import Type as Type
11
12
from typing import TYPE_CHECKING as TYPE_CHECKING
12
13
13
14
if sys .version_info >= (3 , 3 ):
@@ -17,6 +18,7 @@ if sys.version_info >= (3, 5):
17
18
from typing import AsyncIterable as AsyncIterable
18
19
from typing import AsyncIterator as AsyncIterator
19
20
from typing import AsyncContextManager as AsyncContextManager
21
+ from typing import Awaitable as Awaitable
20
22
from typing import Coroutine as Coroutine
21
23
22
24
if sys .version_info >= (3 , 6 ):
@@ -25,4 +27,7 @@ if sys.version_info >= (3, 6):
25
27
# Return type that indicates a function does not return.
26
28
# This type is equivalent to the None type, but the no-op Union is necessary to
27
29
# distinguish the None type from the None value.
30
+ #
31
+ # TODO: Replace with direct import from typing once NoReturn is added to
32
+ # typing.pyi.
28
33
NoReturn = typing .Union [None ]
You can’t perform that action at this time.
0 commit comments