stdlib/@python2: clean imports (#5453)

This commit is contained in:
Akuli authored and GitHub committed 2021-05-15 01:08:37 +02:00
1 parent 5ec4f06263
commit 15b0959cf8
144 files changed
+77 -294

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
import sys
import xml.dom
from typing import IO, Any, Optional, Text as _Text, TypeVar, Union
from xml.dom.xmlbuilder import DocumentLS, DOMImplementationLS
@@ -1,4 +1,3 @@
import sys
from typing import Callable, Optional, Union
from xml.etree.ElementTree import Element
+1 -3
View File
@@ -1,5 +1,4 @@
import sys
from _typeshed import AnyPath, FileDescriptor, SupportsWrite
from _typeshed import AnyPath, FileDescriptor
from typing import (
IO,
Any,
@@ -20,7 +19,6 @@ from typing import (
Union,
overload,
)
from typing_extensions import Literal
VERSION: str
+1 -2
View File
@@ -1,5 +1,4 @@
import sys
from typing import IO, Any, Iterable, List, NoReturn, Optional, Text, Union
from typing import IO, Any, List, NoReturn, Optional, Text, Union
from xml.sax.handler import ContentHandler, ErrorHandler
from xml.sax.xmlreader import Locator, XMLReader
-1
View File
@@ -1,4 +1,3 @@
import sys
from _typeshed import SupportsWrite
from codecs import StreamReaderWriter, StreamWriter
from io import RawIOBase, TextIOBase