[stdlib][asyncio] Widen asyncio.events.handle arguments type (#4188)

Co-authored-by: Jaromir Latal <jaro@fb.com>
This commit is contained in:
Jaromir Latal
2020-06-06 15:48:02 +01:00
committed by GitHub
parent 52bf411f2b
commit 9ab4ec568d

View File

@@ -20,8 +20,8 @@ _TransProtPair = Tuple[BaseTransport, BaseProtocol]
class Handle:
_cancelled = False
_args: List[Any]
def __init__(self, callback: Callable[..., Any], args: List[Any], loop: AbstractEventLoop) -> None: ...
_args: Sequence[Any]
def __init__(self, callback: Callable[..., Any], args: Sequence[Any], loop: AbstractEventLoop) -> None: ...
def __repr__(self) -> str: ...
def cancel(self) -> None: ...
def _run(self) -> None: ...