mercurial/cext/mpatch.pyi
author Matt Harbison <matt_harbison@yahoo.com>
Sun, 22 Sep 2024 17:18:05 -0400
changeset 51880 8f3cbea2547c
parent 46038 8dca9051a859
permissions -rw-r--r--
util: add a comment to suppress a PyCharm warning about a PEP 8 violation Slowly trying to get rid of silly warnings, so that real problems aren't hidden.

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

def patches(text: bytes, bins: List[bytes]) -> bytes: ...
def patchedsize(orig: int, data: bytes) -> int: ...