mercurial/cext/base85.pyi
author Matt Harbison <matt_harbison@yahoo.com>
Wed, 13 Jul 2022 12:47:40 -0400
changeset 49390 9f3edb305261
parent 46038 8dca9051a859
child 51723 9367571fea21
permissions -rw-r--r--
typing: suppress a few attribute errors in url.py These are newly detected by pytype 2022.03.21. Not sure what is going on here- `realhostport` and `headers` are added outside of the constructor, so that makes sense. But PyCharm also thinks the private methods don't exist, though when clicking through the class hierarchy, it shows in the py3.9 source code.

from typing import Optional

version: int

def b85encode(text: bytes, pad: Optional[int]) -> bytes: ...
def b85decode(text: bytes) -> bytes: ...