mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
difflib: diff_bytes accepts bytearray (#9031)
This commit is contained in:
@@ -127,12 +127,12 @@ class HtmlDiff:
|
||||
def restore(delta: Iterable[str], which: int) -> Iterator[str]: ...
|
||||
def diff_bytes(
|
||||
dfunc: Callable[[Sequence[str], Sequence[str], str, str, str, str, int, str], Iterator[str]],
|
||||
a: Sequence[bytes],
|
||||
b: Sequence[bytes],
|
||||
fromfile: bytes = ...,
|
||||
tofile: bytes = ...,
|
||||
fromfiledate: bytes = ...,
|
||||
tofiledate: bytes = ...,
|
||||
a: Iterable[bytes | bytearray],
|
||||
b: Iterable[bytes | bytearray],
|
||||
fromfile: bytes | bytearray = ...,
|
||||
tofile: bytes | bytearray = ...,
|
||||
fromfiledate: bytes | bytearray = ...,
|
||||
tofiledate: bytes | bytearray = ...,
|
||||
n: int = ...,
|
||||
lineterm: bytes = ...,
|
||||
lineterm: bytes | bytearray = ...,
|
||||
) -> Iterator[bytes]: ...
|
||||
|
||||
Reference in New Issue
Block a user