mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Replace 'Text' with 'str' in py3 stdlib (#5466)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import numbers
|
||||
from types import TracebackType
|
||||
from typing import Any, Container, Dict, List, NamedTuple, Optional, Sequence, Text, Tuple, Type, TypeVar, Union, overload
|
||||
from typing import Any, Container, Dict, List, NamedTuple, Optional, Sequence, Tuple, Type, TypeVar, Union, overload
|
||||
|
||||
_Decimal = Union[Decimal, int]
|
||||
_DecimalNew = Union[Decimal, float, Text, Tuple[int, Sequence[int], int]]
|
||||
_DecimalNew = Union[Decimal, float, str, Tuple[int, Sequence[int], int]]
|
||||
_ComparableNum = Union[Decimal, float, numbers.Rational]
|
||||
_DecimalT = TypeVar("_DecimalT", bound=Decimal)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user