Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions stdlib/builtins.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,20 @@ from _typeshed import (
SupportsTrunc,
SupportsWrite,
)
from collections.abc import (
Awaitable,
Callable,
Iterable,
Iterator,
Mapping,
MutableMapping,
MutableSet,
Reversible,
Set as AbstractSet,
Sized,
)
from collections.abc import Awaitable, Callable, Iterable, Iterator, MutableSet, Reversible, Set as AbstractSet, Sized
from io import BufferedRandom, BufferedReader, BufferedWriter, FileIO, TextIOWrapper
from types import CodeType, TracebackType, _Cell

# mypy crashes if any of {ByteString, Sequence, MutableSequence} are imported from collections.abc in builtins.pyi
# mypy crashes if any of {ByteString, Sequence, MutableSequence, Mapping, MutableMapping} are imported from collections.abc in builtins.pyi
from typing import ( # noqa: Y027
IO,
Any,
BinaryIO,
ByteString,
ClassVar,
Generic,
Mapping,
MutableMapping,
MutableSequence,
NoReturn,
Protocol,
Expand Down