mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
committed by
Matthias Kramm
parent
f264eda4ed
commit
7ecc979211
@@ -1,5 +1,6 @@
|
||||
# Stubs for locale
|
||||
|
||||
from decimal import Decimal
|
||||
from typing import Any, Iterable, List, Mapping, Optional, Sequence, Tuple, Union
|
||||
import sys
|
||||
|
||||
@@ -91,7 +92,7 @@ def normalize(localename: _str) -> _str: ...
|
||||
def resetlocale(category: int = ...) -> None: ...
|
||||
def strcoll(string1: _str, string2: _str) -> int: ...
|
||||
def strxfrm(string: _str) -> _str: ...
|
||||
def format(format: _str, val: int, grouping: bool = ...,
|
||||
def format(format: _str, val: Union[float, Decimal], grouping: bool = ...,
|
||||
monetary: bool = ...) -> _str: ...
|
||||
def format_string(format: _str, val: Sequence[Any],
|
||||
grouping: bool = ...) -> _str: ...
|
||||
|
||||
Reference in New Issue
Block a user