Mercurial > hg
view mercurial/cext/base85.pyi @ 50764:8ff187fbbfea
rust-config: add config getters that don't fall back to defaults
This is useful in cases where we access config items that are more... lenient
with their types than a fresh new system would allow.
For now there is only a single use of this, but we might get more later.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 13 Feb 2023 18:11:48 +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: ...