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 -17
View File
@@ -1,24 +1,8 @@
import threading
from _typeshed import StrPath
from string import Template
from time import struct_time
from types import FrameType, TracebackType
from typing import (
IO,
Any,
Callable,
Dict,
Iterable,
List,
Mapping,
MutableMapping,
Optional,
Sequence,
Text,
Tuple,
Union,
overload,
)
from typing import IO, Any, Callable, Dict, List, Mapping, MutableMapping, Optional, Sequence, Text, Tuple, Union, overload
_SysExcInfoType = Union[Tuple[type, BaseException, Optional[TracebackType]], Tuple[None, None, None]]
_ExcInfoType = Union[None, bool, _SysExcInfoType]
+2 -4
View File
@@ -1,8 +1,6 @@
from _typeshed import AnyPath, StrPath
from _typeshed import StrPath
from threading import Thread
from typing import IO, Any, Callable, Dict, Optional, Union
from ConfigParser import RawConfigParser
from typing import IO, Any, Dict, Optional, Union
_Path = StrPath
+1 -4
View File
@@ -1,10 +1,7 @@
import datetime
import ssl
from _typeshed import StrPath
from logging import FileHandler, Handler, LogRecord
from Queue import Queue
from socket import SocketKind, SocketType
from typing import Any, Callable, ClassVar, Dict, List, Optional, Tuple, Union
from typing import Any, ClassVar, Dict, List, Optional, Tuple, Union
DEFAULT_TCP_LOGGING_PORT: int
DEFAULT_UDP_LOGGING_PORT: int