add more minor 3.7 new features (#2000)

part of #1965
This commit is contained in:
Jelle Zijlstra
2018-03-28 21:28:27 -07:00
committed by GitHub
parent 6a1d25b73e
commit 43e6c3c435
5 changed files with 29 additions and 5 deletions

View File

@@ -94,8 +94,12 @@ def strcoll(string1: _str, string2: _str) -> int: ...
def strxfrm(string: _str) -> _str: ...
def format(format: _str, val: Union[float, Decimal], grouping: bool = ...,
monetary: bool = ...) -> _str: ...
def format_string(format: _str, val: Sequence[Any],
grouping: bool = ...) -> _str: ...
if sys.version_info >= (3, 7):
def format_string(format: _str, val: Sequence[Any],
grouping: bool = ..., monetary: bool = ...) -> _str: ...
else:
def format_string(format: _str, val: Sequence[Any],
grouping: bool = ...) -> _str: ...
def currency(val: int, symbol: bool = ..., grouping: bool = ...,
international: bool = ...) -> _str: ...
if sys.version_info >= (3, 5):