Mercurial > hg
view mercurial/cext/base85.pyi @ 46113:59fa3890d40a
node: import symbols explicitly
There is no point in lazy importing mercurial.node, it is used all over
the place anyway. So consistently import the used symbols directly.
Fix one file using symbols indirectly via mercurial.revlog.
Differential Revision: https://phab.mercurial-scm.org/D9480
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Tue, 01 Dec 2020 21:54:46 +0100 |
parents | 8dca9051a859 |
children | 9367571fea21 |
line wrap: on
line source
from typing import Optional version: int def b85encode(text: bytes, pad: Optional[int]) -> bytes: ... def b85decode(text: bytes) -> bytes: ...