Update typing_extensions imports in stdlib (#11244)

Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
This commit is contained in:
Sebastian Rittau
2024-01-05 17:15:19 +01:00
committed by GitHub
parent b6eaadcfe5
commit 53a8193d64
214 changed files with 365 additions and 430 deletions

View File

@@ -1,7 +1,7 @@
from distutils.unixccompiler import UnixCCompiler
from distutils.version import LooseVersion
from re import Pattern
from typing_extensions import Literal
from typing import Literal
def get_msvcr() -> list[str] | None: ...

View File

@@ -1,7 +1,6 @@
from collections.abc import Iterable
from re import Pattern
from typing import overload
from typing_extensions import Literal
from typing import Literal, overload
# class is entirely undocumented
class FileList:

View File

@@ -1,7 +1,6 @@
from _typeshed import StrPath, Unused
from collections.abc import Callable, Container, Iterable, Mapping
from typing import Any
from typing_extensions import Literal
from typing import Any, Literal
def get_host_platform() -> str: ...
def get_platform() -> str: ...