Add locale.localize (#14970)

This commit is contained in:
Guo Ci
2025-11-03 13:01:04 -05:00
committed by GitHub
parent 4d7b6c653b
commit 37dceef034
+4
View File
@@ -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: ...