mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
Add locale.localize (#14970)
This commit is contained in:
@@ -153,6 +153,10 @@ if sys.version_info < (3, 12):
|
||||
def format_string(f: _str, val: Any, grouping: bool = False, monetary: bool = False) -> _str: ...
|
||||
def currency(val: float | Decimal, symbol: bool = True, grouping: bool = False, international: bool = False) -> _str: ...
|
||||
def delocalize(string: _str) -> _str: ...
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
def localize(string: _str, grouping: bool = False, monetary: bool = False) -> _str: ...
|
||||
|
||||
def atof(string: _str, func: Callable[[_str], float] = ...) -> float: ...
|
||||
def atoi(string: _str) -> int: ...
|
||||
def str(val: float) -> _str: ...
|
||||
|
||||
Reference in New Issue
Block a user