##// END OF EJS Templates
dispatch: disable line ending normalization on sys.stdin if its None...
dispatch: disable line ending normalization on sys.stdin if its None Fixes test-chg.t on python 3 with chg. Differential Revision: https://phab.mercurial-scm.org/D9501

File last commit:

r46652:8dca9051 default
r46700:7e1b4154 default
Show More
bdiff.pyi
12 lines | 341 B | text/x-python | PythonLexer
Gregory Szorc
cext: add .pyi files for C extensions...
r46652 from typing import (
List,
Tuple,
)
version: int
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]: ...
def xdiffblocks(a: bytes, b: bytes) -> List[Tuple[int, int, int, int]]: ...