mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import sys
|
||||
from _typeshed import Self, SupportsRichComparisonT
|
||||
from collections.abc import Hashable, Iterable, Sequence
|
||||
from decimal import Decimal
|
||||
from fractions import Fraction
|
||||
from typing import Any, Hashable, Iterable, NamedTuple, Sequence, SupportsFloat, TypeVar
|
||||
from typing import Any, NamedTuple, SupportsFloat, TypeVar
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
|
||||
Reference in New Issue
Block a user