2024-05-26 13:15:51 +03:00

19 lines
362 B
Python

from typing import Literal, TypeVar
_T = TypeVar("_T")
ints2octs = bytes
def int2oct(x) -> bytes: ...
null: Literal[b""]
def oct2int(x: _T) -> _T: ...
def octs2ints(x: _T) -> _T: ...
def str2octs(x: str) -> bytes: ...
def octs2str(x: bytes) -> str: ...
def isOctetsType(s: object) -> bool: ...
def isStringType(s: object) -> bool: ...
ensureString = bytes