mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Update typing_extensions imports in stdlib (#11244)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
This commit is contained in:
@@ -25,8 +25,22 @@ from collections.abc import Callable, Iterable, Iterator, Mapping, MutableMappin
|
||||
from contextlib import AbstractContextManager
|
||||
from io import BufferedRandom, BufferedReader, BufferedWriter, FileIO, TextIOWrapper as _TextIOWrapper
|
||||
from subprocess import Popen
|
||||
from typing import IO, Any, AnyStr, BinaryIO, Generic, NoReturn, Protocol, TypeVar, overload, runtime_checkable
|
||||
from typing_extensions import Final, Literal, Self, TypeAlias, Unpack, final
|
||||
from typing import (
|
||||
IO,
|
||||
Any,
|
||||
AnyStr,
|
||||
BinaryIO,
|
||||
Final,
|
||||
Generic,
|
||||
Literal,
|
||||
NoReturn,
|
||||
Protocol,
|
||||
TypeVar,
|
||||
final,
|
||||
overload,
|
||||
runtime_checkable,
|
||||
)
|
||||
from typing_extensions import Self, TypeAlias, Unpack
|
||||
|
||||
from . import path as _path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user