From 5103f23de3df283bad2bd73b494237717eb3d078 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Fri, 7 Jan 2022 20:25:12 +0300 Subject: [PATCH] Fixes `asyncio.events` definition (#6811) --- stdlib/asyncio/events.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/asyncio/events.pyi b/stdlib/asyncio/events.pyi index 81b30b7e0..25b3846de 100644 --- a/stdlib/asyncio/events.pyi +++ b/stdlib/asyncio/events.pyi @@ -24,7 +24,7 @@ _SSLContext = Union[bool, None, ssl.SSLContext] _TransProtPair = tuple[BaseTransport, BaseProtocol] class Handle: - _cancelled = False + _cancelled: bool _args: Sequence[Any] if sys.version_info >= (3, 7): def __init__(