builtins: remove unused imports (#4715)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-10-26 00:06:34 -07:00
committed by GitHub
parent de98690e72
commit 8581da07fe
3 changed files with 6 additions and 32 deletions

View File

@@ -1,23 +1,11 @@
# True and False are deliberately omitted because they are keywords in
# Python 3, and stub files conform to Python 3 syntax.
from _typeshed import (
AnyPath,
OpenBinaryMode,
OpenBinaryModeReading,
OpenBinaryModeUpdating,
OpenBinaryModeWriting,
OpenTextMode,
ReadableBuffer,
SupportsKeysAndGetItem,
SupportsWrite,
)
from _typeshed import ReadableBuffer, SupportsKeysAndGetItem, SupportsWrite
from abc import ABCMeta
from ast import AST, mod
from io import BufferedRandom, BufferedReader, BufferedWriter, FileIO, TextIOWrapper
from types import CodeType, TracebackType
from ast import mod
from types import CodeType
from typing import (
IO,
AbstractSet,
Any,
AnyStr,

View File

@@ -1,23 +1,11 @@
# True and False are deliberately omitted because they are keywords in
# Python 3, and stub files conform to Python 3 syntax.
from _typeshed import (
AnyPath,
OpenBinaryMode,
OpenBinaryModeReading,
OpenBinaryModeUpdating,
OpenBinaryModeWriting,
OpenTextMode,
ReadableBuffer,
SupportsKeysAndGetItem,
SupportsWrite,
)
from _typeshed import ReadableBuffer, SupportsKeysAndGetItem, SupportsWrite
from abc import ABCMeta
from ast import AST, mod
from io import BufferedRandom, BufferedReader, BufferedWriter, FileIO, TextIOWrapper
from types import CodeType, TracebackType
from ast import mod
from types import CodeType
from typing import (
IO,
AbstractSet,
Any,
AnyStr,

View File

@@ -12,7 +12,6 @@ from _typeshed import (
SupportsLessThanT,
SupportsWrite,
)
from abc import ABCMeta
from ast import AST, mod
from io import BufferedRandom, BufferedReader, BufferedWriter, FileIO, TextIOWrapper
from types import CodeType, TracebackType
@@ -20,7 +19,6 @@ from typing import (
IO,
AbstractSet,
Any,
AnyStr,
BinaryIO,
ByteString,
Callable,