mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Add annotation to Future._loop (#2959)
This commit is contained in:
committed by
Jelle Zijlstra
parent
7c475a48d7
commit
fe06e8e3c5
@@ -50,5 +50,7 @@ class Future(Awaitable[_T], Iterable[_T]):
|
||||
def _copy_state(self, other: Any) -> None: ...
|
||||
def __iter__(self) -> Generator[Any, None, _T]: ...
|
||||
def __await__(self) -> Generator[Any, None, _T]: ...
|
||||
@property
|
||||
def _loop(self) -> AbstractEventLoop: ...
|
||||
|
||||
def wrap_future(f: Union[_ConcurrentFuture[_T], Future[_T]]) -> Future[_T]: ...
|
||||
|
||||
Reference in New Issue
Block a user