Skip to content

Commit a0f1c96

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent ec7a36a commit a0f1c96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/locale.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,10 @@ if sys.version_info < (3, 12):
153153
def format_string(f: _str, val: Any, grouping: bool = False, monetary: bool = False) -> _str: ...
154154
def currency(val: float | Decimal, symbol: bool = True, grouping: bool = False, international: bool = False) -> _str: ...
155155
def delocalize(string: _str) -> _str: ...
156+
156157
if sys.version_info >= (3, 10):
157158
def localize(string: _str, grouping: bool = False, monetary: bool = False) -> _str: ...
159+
158160
def atof(string: _str, func: Callable[[_str], float] = ...) -> float: ...
159161
def atoi(string: _str) -> int: ...
160162
def str(val: float) -> _str: ...

0 commit comments

Comments
 (0)