mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
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:
committed by
Jelle Zijlstra
parent
595d02363a
commit
615fa41c25
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user