mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 03:41:28 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -111,19 +111,19 @@ CHAR_MAX: int
|
||||
|
||||
class Error(Exception): ...
|
||||
|
||||
def setlocale(category: int, locale: _str | Iterable[_str | None] | None = ...) -> _str: ...
|
||||
def setlocale(category: int, locale: _str | Iterable[_str | None] | None = None) -> _str: ...
|
||||
def localeconv() -> Mapping[_str, int | _str | list[int]]: ...
|
||||
def nl_langinfo(__key: int) -> _str: ...
|
||||
def getdefaultlocale(envvars: tuple[_str, ...] = ...) -> tuple[_str | None, _str | None]: ...
|
||||
def getlocale(category: int = ...) -> tuple[_str | None, _str | None]: ...
|
||||
def getpreferredencoding(do_setlocale: bool = ...) -> _str: ...
|
||||
def getlocale(category: int = 2) -> tuple[_str | None, _str | None]: ...
|
||||
def getpreferredencoding(do_setlocale: bool = True) -> _str: ...
|
||||
def normalize(localename: _str) -> _str: ...
|
||||
def resetlocale(category: int = ...) -> None: ...
|
||||
def resetlocale(category: int = 0) -> None: ...
|
||||
def strcoll(__os1: _str, __os2: _str) -> int: ...
|
||||
def strxfrm(__string: _str) -> _str: ...
|
||||
def format(percent: _str, value: float | Decimal, grouping: bool = ..., monetary: bool = ..., *additional: Any) -> _str: ...
|
||||
def format_string(f: _str, val: Any, grouping: bool = ..., monetary: bool = ...) -> _str: ...
|
||||
def currency(val: float | Decimal, symbol: bool = ..., grouping: bool = ..., international: bool = ...) -> _str: ...
|
||||
def format(percent: _str, value: float | Decimal, grouping: bool = False, monetary: bool = False, *additional: Any) -> _str: ...
|
||||
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: ...
|
||||
def atof(string: _str, func: Callable[[_str], float] = ...) -> float: ...
|
||||
def atoi(string: _str) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user