mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from collections.abc import Callable, Sequence
|
||||
from decimal import Decimal
|
||||
from typing import Any, overload
|
||||
from typing_extensions import Literal, Self
|
||||
from typing import Any, Literal, overload
|
||||
from typing_extensions import Self
|
||||
|
||||
from wtforms.fields.core import Field, _Filter, _FormT, _Validator, _Widget
|
||||
from wtforms.form import BaseForm
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import SupportsItems
|
||||
from collections.abc import Collection, Iterator, MutableMapping
|
||||
from typing import Any, Protocol, TypeVar, overload
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from typing import Any, Literal, Protocol, TypeVar, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from markupsafe import Markup
|
||||
from wtforms.fields.core import Field, UnboundField
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from collections.abc import Iterable, Iterator
|
||||
from typing import Any
|
||||
from typing_extensions import Literal
|
||||
from typing import Any, Literal
|
||||
|
||||
from wtforms.meta import _MultiDictLikeWithGetall
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from decimal import Decimal
|
||||
from typing import Any
|
||||
from typing_extensions import Literal
|
||||
from typing import Any, Literal
|
||||
|
||||
from markupsafe import Markup
|
||||
from wtforms.fields import Field, FormField, SelectFieldBase, StringField
|
||||
|
||||
Reference in New Issue
Block a user