stdlib: Add defaults for positional-only parameters (#9655)

This commit is contained in:
Alex Waygood
2023-02-01 21:44:08 +00:00
committed by GitHub
parent 35172c7aab
commit 1d7dda7fa1
30 changed files with 159 additions and 155 deletions

View File

@@ -466,7 +466,7 @@ class SSLObject:
class MemoryBIO:
pending: int
eof: bool
def read(self, __size: int = ...) -> bytes: ...
def read(self, __size: int = -1) -> bytes: ...
def write(self, __buf: ReadableBuffer) -> int: ...
def write_eof(self) -> None: ...