Fix various pos-only stubtest complaints previously allowlisted (#7228)

This commit is contained in:
Alex Waygood
2022-02-15 16:51:34 +00:00
committed by GitHub
parent 1317fa7af9
commit 5e8a2a9364
6 changed files with 19 additions and 15 deletions

View File

@@ -181,3 +181,4 @@ class IncrementalNewlineDecoder(codecs.IncrementalDecoder):
def decode(self, input: bytes | str, final: bool = ...) -> str: ...
@property
def newlines(self) -> str | tuple[str, ...] | None: ...
def setstate(self, __state: tuple[bytes, int]) -> None: ...