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
@@ -38,7 +38,7 @@ class Process:
def send_signal(self, signal: int) -> None: ...
def terminate(self) -> None: ...
def kill(self) -> None: ...
async def communicate(self, input: bytes | None = ...) -> tuple[bytes, bytes]: ...
async def communicate(self, input: bytes | bytearray | memoryview | None = ...) -> tuple[bytes, bytes]: ...
if sys.version_info >= (3, 10):
async def create_subprocess_shell(