mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-23 01:58:29 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
@@ -2,8 +2,7 @@ from _typeshed import StrOrBytesPath
|
||||
from abc import abstractmethod
|
||||
from logging import Logger
|
||||
from subprocess import Popen
|
||||
from typing import Any, ClassVar, NewType
|
||||
from typing_extensions import Literal
|
||||
from typing import Any, ClassVar, Literal, NewType
|
||||
|
||||
import setuptools.command.sdist
|
||||
from fanstatic.core import Resource
|
||||
|
||||
@@ -2,8 +2,8 @@ from abc import abstractmethod
|
||||
from collections.abc import Callable, Iterable
|
||||
from threading import local
|
||||
from types import ModuleType
|
||||
from typing import NewType
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from typing import Literal, NewType
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from fanstatic.compiler import Compiler, Minifier
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment
|
||||
from abc import abstractmethod
|
||||
from collections.abc import Iterable
|
||||
from typing import Any
|
||||
from typing_extensions import Literal, TypedDict, Unpack
|
||||
from typing import Any, Literal, TypedDict
|
||||
from typing_extensions import Unpack
|
||||
|
||||
from fanstatic.core import Dependable, NeededResources, Resource
|
||||
from fanstatic.inclusion import Inclusion
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
from _typeshed import StrOrBytesPath
|
||||
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment
|
||||
from collections.abc import Iterable
|
||||
from typing import IO, Any
|
||||
from typing_extensions import Literal
|
||||
from typing import IO, Any, Literal
|
||||
|
||||
from fanstatic.core import Library
|
||||
from fanstatic.registry import LibraryRegistry
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from abc import abstractmethod
|
||||
from collections.abc import Iterable
|
||||
from threading import Lock
|
||||
from typing import Any, ClassVar, Protocol, TypeVar
|
||||
from typing_extensions import Literal, Self
|
||||
from typing import Any, ClassVar, Literal, Protocol, TypeVar
|
||||
from typing_extensions import Self
|
||||
|
||||
from fanstatic.compiler import Compiler, Minifier
|
||||
from fanstatic.core import Library
|
||||
|
||||
Reference in New Issue
Block a user