stdlib/@python2: clean imports (#5453)

This commit is contained in:
Akuli
2021-05-15 02:08:37 +03:00
committed by GitHub
parent 5ec4f06263
commit 15b0959cf8
144 changed files with 77 additions and 294 deletions

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

View File

@@ -1,4 +1,3 @@
import sys
from typing import Callable, Optional, Union
from xml.etree.ElementTree import Element

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

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

View File

@@ -1,4 +1,3 @@
import sys
from _typeshed import SupportsWrite
from codecs import StreamReaderWriter, StreamWriter
from io import RawIOBase, TextIOBase