From 99d79696d798a17ba789ed26eb68e540936fbb60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oleg=20H=C3=B6fling?= Date: Sun, 26 Jan 2020 15:48:44 +0100 Subject: [PATCH] accept optional extras in asyncio.BaseTransport init (#3661) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oleg Höfling --- stdlib/3/asyncio/transports.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/asyncio/transports.pyi b/stdlib/3/asyncio/transports.pyi index df80beb4e..d194f833e 100644 --- a/stdlib/3/asyncio/transports.pyi +++ b/stdlib/3/asyncio/transports.pyi @@ -4,7 +4,7 @@ from asyncio.protocols import BaseProtocol from asyncio.events import AbstractEventLoop class BaseTransport: - def __init__(self, extra: Mapping[Any, Any] = ...) -> None: ... + def __init__(self, extra: Optional[Mapping[Any, Any]] = ...) -> None: ... def get_extra_info(self, name: Any, default: Any = ...) -> Any: ... def is_closing(self) -> bool: ... def close(self) -> None: ...