mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
stdlib/@python2: clean imports (#5453)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import sys
|
||||
from typing import List, Optional, Pattern, Tuple, overload
|
||||
|
||||
_HeaderList = List[Tuple[str, str]]
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import sys
|
||||
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
|
||||
from typing import List, Optional, Type, TypeVar, overload
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import sys
|
||||
from typing import IO, Any, Callable, Optional
|
||||
|
||||
from .types import WSGIEnvironment
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import sys
|
||||
from _typeshed.wsgi import ErrorStream, InputStream, WSGIApplication
|
||||
from typing import Any, Callable, Iterable, Iterator, NoReturn, Optional
|
||||
|
||||
|
||||
Reference in New Issue
Block a user