mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-03-01 21:06:54 +08:00
first version finished
This commit is contained in:
10
django/utils/baseconv.pyi
Normal file
10
django/utils/baseconv.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user