mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
stdlib/@python2: clean imports (#5453)
This commit is contained in:
@@ -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,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,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,4 +1,3 @@
|
||||
import sys
|
||||
from _typeshed import SupportsWrite
|
||||
from codecs import StreamReaderWriter, StreamWriter
|
||||
from io import RawIOBase, TextIOBase
|
||||
|
||||
Reference in New Issue
Block a user