asyncio: improve bytes handling (#9013)

This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2022-10-29 00:36:44 +02:00
1 parent b8659e69f5
commit 583b600db0
8 files changed
+43 -33

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ class _SSLProtocolTransport(transports._FlowControlMixin, transports.Transport):
def get_extra_info(self, name: str, default: Any | None = ...) -> dict[str, Any]: ...
@property
def _protocol_paused(self) -> bool: ...
def write(self, data: bytes) -> None: ...
def write(self, data: bytes | bytearray | memoryview) -> None: ...
def can_write_eof(self) -> Literal[False]: ...
if sys.version_info >= (3, 11):
def get_write_buffer_limits(self) -> tuple[int, int]: ...