mirror of https://github.com/flaggo/pydu.git
add type hint for convert
This commit is contained in:
parent
311e8d1f3d
commit
3ffb75d062
|
@ -0,0 +1,16 @@
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
|
def boolean(obj: Any) -> bool: ...
|
||||||
|
def bin2oct(x: str) -> str: ...
|
||||||
|
def bin2dec(x: str) -> int: ...
|
||||||
|
def bin2hex(x: str) -> str: ...
|
||||||
|
def oct2bin(x: str) -> str: ...
|
||||||
|
def oct2dec(x: str) -> int: ...
|
||||||
|
def oct2hex(x: str) -> str: ...
|
||||||
|
def dec2bin(x: int) -> str: ...
|
||||||
|
def dec2oct(x: int) -> str: ...
|
||||||
|
def dec2hex(x: int) -> str: ...
|
||||||
|
def hex2bin(x: str) -> str: ...
|
||||||
|
def hex2oct(x: str) -> str: ...
|
||||||
|
def hex2dec(x: str) -> int: ...
|
Loading…
Reference in New Issue