Files
django-stubs/django/utils/baseconv.pyi
2018-07-29 18:27:46 +03:00

10 lines
265 B
Python

from typing import (
Tuple,
Union,
)
class BaseConverter:
def convert(self, number: Union[str, int], from_digits: str, to_digits: str, sign: str) -> Tuple[int, str]: ...
def decode(self, s: str) -> int: ...
def encode(self, i: int) -> str: ...