mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 08:58:44 +08:00
Add asyncio.futures.__all__ (#7268)
This commit is contained in:
1 parent
b228c8d29e
commit
5729a239ae
1 file changed
+7
@@ -16,6 +16,13 @@ if sys.version_info >= (3, 7):
|
||||
if sys.version_info >= (3, 9):
|
||||
from types import GenericAlias
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
__all__ = ("Future", "wrap_future", "isfuture")
|
||||
elif sys.version_info >= (3, 7):
|
||||
__all__ = ("CancelledError", "TimeoutError", "InvalidStateError", "Future", "wrap_future", "isfuture")
|
||||
else:
|
||||
__all__ = ["CancelledError", "TimeoutError", "InvalidStateError", "Future", "wrap_future", "isfuture"]
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
if sys.version_info < (3, 7):
|
||||
|
||||
Reference in new issue
Block a user