mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-02-22 09:38:59 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
30
django-stubs-generated/utils/baseconv.pyi
Normal file
30
django-stubs-generated/utils/baseconv.pyi
Normal file
@@ -0,0 +1,30 @@
|
||||
from typing import Any, Optional, Tuple, Union
|
||||
|
||||
BASE2_ALPHABET: str
|
||||
BASE16_ALPHABET: str
|
||||
BASE56_ALPHABET: str
|
||||
BASE36_ALPHABET: str
|
||||
BASE62_ALPHABET: str
|
||||
BASE64_ALPHABET: Any
|
||||
|
||||
class BaseConverter:
|
||||
decimal_digits: str = ...
|
||||
sign: str = ...
|
||||
digits: str = ...
|
||||
def __init__(self, digits: str, sign: str = ...) -> None: ...
|
||||
def encode(self, i: int) -> str: ...
|
||||
def decode(self, s: str) -> int: ...
|
||||
def convert(
|
||||
self,
|
||||
number: Union[int, str],
|
||||
from_digits: str,
|
||||
to_digits: str,
|
||||
sign: str,
|
||||
) -> Tuple[int, str]: ...
|
||||
|
||||
base2: Any
|
||||
base16: Any
|
||||
base36: Any
|
||||
base56: Any
|
||||
base62: Any
|
||||
base64: Any
|
||||
Reference in New Issue
Block a user