stdlib: Add bytes defaults (#9660)

This commit is contained in:
Alex Waygood
2023-02-03 00:01:54 +00:00
committed by GitHub
parent f1aede7162
commit 100cd62373
8 changed files with 34 additions and 34 deletions

View File

@@ -132,10 +132,10 @@ def diff_bytes(
dfunc: Callable[[Sequence[str], Sequence[str], str, str, str, str, int, str], Iterator[str]],
a: Iterable[bytes | bytearray],
b: Iterable[bytes | bytearray],
fromfile: bytes | bytearray = ...,
tofile: bytes | bytearray = ...,
fromfiledate: bytes | bytearray = ...,
tofiledate: bytes | bytearray = ...,
fromfile: bytes | bytearray = b"",
tofile: bytes | bytearray = b"",
fromfiledate: bytes | bytearray = b"",
tofiledate: bytes | bytearray = b"",
n: int = 3,
lineterm: bytes | bytearray = ...,
lineterm: bytes | bytearray = b"\n",
) -> Iterator[bytes]: ...