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,7 +1,6 @@
import sys
from abc import abstractmethod
from types import TracebackType
from typing import IO, Callable, Dict, List, MutableMapping, Optional, Text, Tuple, Type
from typing import IO, Callable, List, MutableMapping, Optional, Text, Tuple, Type
from .headers import Headers
from .types import ErrorStream, InputStream, StartResponse, WSGIApplication, WSGIEnvironment

View File

@@ -1,4 +1,3 @@
import sys
from typing import List, Optional, Pattern, Tuple, overload
_HeaderList = List[Tuple[str, str]]

View File

@@ -1,4 +1,3 @@
import sys
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
from typing import List, Optional, Type, TypeVar, overload

View File

@@ -1,4 +1,3 @@
import sys
from typing import IO, Any, Callable, Optional
from .types import WSGIEnvironment

View File

@@ -1,4 +1,3 @@
import sys
from _typeshed.wsgi import ErrorStream, InputStream, WSGIApplication
from typing import Any, Callable, Iterable, Iterator, NoReturn, Optional