asyncio/future.pyi - wrap_future loop keyword arg (#3507)

https://docs.python.org/3.8/library/asyncio-future.html?highlight=wrap_future#asyncio.wrap_future but it doesn't look like the signature has changed going back to 3.5
This commit is contained in:
Jason Fried
2019-11-26 16:03:54 -08:00
committed by Jelle Zijlstra
parent 595d02363a
commit 615fa41c25

View File

@@ -59,4 +59,4 @@ class Future(Awaitable[_T], Iterable[_T]):
@property
def _loop(self) -> AbstractEventLoop: ...
def wrap_future(f: Union[_ConcurrentFuture[_T], Future[_T]]) -> Future[_T]: ...
def wrap_future(f: Union[_ConcurrentFuture[_T], Future[_T]], *, loop: Optional[AbstractEventLoop] = ...) -> Future[_T]: ...