Explaining/Fixing asyncio allowlist exceptions (#5132)

This commit is contained in:
hatal175
2021-03-24 02:14:30 +02:00
committed by GitHub
parent 3774fa9e8e
commit 88a8d0ccbc
12 changed files with 70 additions and 44 deletions

View File

@@ -53,7 +53,8 @@ if sys.platform != "win32":
**kwds: Any,
) -> events.AbstractServer: ...
class FlowControlMixin(protocols.Protocol): ...
class FlowControlMixin(protocols.Protocol):
def __init__(self, loop: Optional[events.AbstractEventLoop] = ...) -> None: ...
class StreamReaderProtocol(FlowControlMixin, protocols.Protocol):
def __init__(