From 9ab4ec568dc9d4f191cc119c393b833ea4a1378b Mon Sep 17 00:00:00 2001 From: Jaromir Latal Date: Sat, 6 Jun 2020 15:48:02 +0100 Subject: [PATCH] [stdlib][asyncio] Widen asyncio.events.handle arguments type (#4188) Co-authored-by: Jaromir Latal --- stdlib/3/asyncio/events.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/3/asyncio/events.pyi b/stdlib/3/asyncio/events.pyi index 6dd516134..b46b31386 100644 --- a/stdlib/3/asyncio/events.pyi +++ b/stdlib/3/asyncio/events.pyi @@ -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: ...