mercurial/cext/bdiff.pyi
author Matt Harbison <matt_harbison@yahoo.com>
Tue, 22 Nov 2022 11:55:26 -0500
branchstable
changeset 49591 c4874ebe8644
parent 46042 8dca9051a859
child 49731 b8389533ba3a
permissions -rw-r--r--
match: make the FLAG_RE pattern a raw string PyCharm was complaining about invalid escape sequences since this was added recently in 3eda36e9b3d6.

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]]: ...