mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
accept optional extras in asyncio.BaseTransport init (#3661)
Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
This commit is contained in:
committed by
Sebastian Rittau
parent
76b295a669
commit
99d79696d7
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user