mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-16 13:35:04 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import datetime
|
||||
from collections.abc import Iterable
|
||||
from decimal import Decimal
|
||||
from typing_extensions import TypedDict
|
||||
from typing import TypedDict
|
||||
|
||||
from .feedback import _Feedback
|
||||
from .matching import _Match
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from collections.abc import Sequence
|
||||
from typing_extensions import Literal, TypedDict
|
||||
from typing import Literal, TypedDict
|
||||
|
||||
from .matching import _Match
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from collections.abc import Iterable, Mapping
|
||||
from decimal import Decimal
|
||||
from re import Pattern
|
||||
from typing import Any
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
from typing import Any, Literal, TypedDict
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
from .adjacency_graphs import _Graph
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from collections.abc import Iterable
|
||||
from decimal import Decimal
|
||||
from re import Pattern
|
||||
from typing_extensions import TypedDict
|
||||
from typing import TypedDict
|
||||
|
||||
from .adjacency_graphs import _Graph
|
||||
from .matching import _Match
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from decimal import Decimal
|
||||
from typing_extensions import Literal, TypedDict
|
||||
from typing import Literal, TypedDict
|
||||
|
||||
class _TimeEstimate(TypedDict):
|
||||
crack_times_seconds: _CrackTimeSeconds
|
||||
|
||||
Reference in New Issue
Block a user