Broaden type of val argument to locale.currency (#2192)

Similar to python/typeshed#1350
This commit is contained in:
Michael
2018-06-04 14:54:26 +00:00
committed by Jelle Zijlstra
parent 7faa41984b
commit 9ec6d476c4

View File

@@ -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: ...