mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add get_loop() to asyncio.Future [Python 3.7] (#2680)
This commit is contained in:
committed by
Sebastian Rittau
parent
0b49ce75b4
commit
1b24d80087
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user