Add get_loop() to asyncio.Future [Python 3.7] (#2680)

This commit is contained in:
Sander Voerman
2018-12-09 21:37:37 +01:00
committed by Sebastian Rittau
parent 0b49ce75b4
commit 1b24d80087

View File

@@ -35,6 +35,8 @@ class Future(Awaitable[_T], Iterable[_T]):
def __init__(self, *, loop: AbstractEventLoop = ...) -> None: ...
def __repr__(self) -> str: ...
def __del__(self) -> None: ...
if sys.version_info >= (3, 7):
def get_loop(self) -> AbstractEventLoop: ...
def cancel(self) -> bool: ...
def _schedule_callbacks(self) -> None: ...
def cancelled(self) -> bool: ...