mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-06 20:24:31 +08:00
10 lines
265 B
Python
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: ... |