mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Broaden type of val argument to locale.currency (#2192)
Similar to python/typeshed#1350
This commit is contained in:
@@ -100,7 +100,7 @@ if sys.version_info >= (3, 7):
|
||||
else:
|
||||
def format_string(format: _str, val: Sequence[Any],
|
||||
grouping: bool = ...) -> _str: ...
|
||||
def currency(val: int, symbol: bool = ..., grouping: bool = ...,
|
||||
def currency(val: Union[int, float, Decimal], symbol: bool = ..., grouping: bool = ...,
|
||||
international: bool = ...) -> _str: ...
|
||||
if sys.version_info >= (3, 5):
|
||||
def delocalize(string: _str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user