# HG changeset patch # User Matt Harbison # Date 1667932686 18000 # Node ID b8389533ba3a80831ea800dcd19b05b8b0a60813 # Parent 266bb5c86f4b21b8b13fd3f6a38cec2906310480 typing: fix a syntax error in mercurial/cext/bdiff.pyi I noticed because `merge-pyi` on the non-cext implementations with this file as input skipped the return type for this. `pytype-single --parse-pyi` confirmed it was a problem. diff -r 266bb5c86f4b -r b8389533ba3a mercurial/cext/bdiff.pyi --- a/mercurial/cext/bdiff.pyi Fri Nov 04 19:38:47 2022 -0400 +++ b/mercurial/cext/bdiff.pyi Tue Nov 08 13:38:06 2022 -0500 @@ -5,7 +5,7 @@ version: int -def bdiff(a: bytes, b: bytes): bytes +def bdiff(a: bytes, b: bytes) -> bytes: ... def blocks(a: bytes, b: bytes) -> List[Tuple[int, int, int, int]]: ... def fixws(s: bytes, allws: bool) -> bytes: ... def splitnewlines(text: bytes) -> List[bytes]: ...