mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-10 03:31:27 +08:00
Removed a bunch of unused import symbols detected by pyright. (#5060)
Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import sys
|
||||
from io import TextIOWrapper
|
||||
from typing import Any, Optional, Tuple
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from io import BytesIO
|
||||
from typing import Mapping, Optional, Pattern, Sequence, Tuple, Union
|
||||
from typing import Any, Mapping, Optional, Pattern, Sequence, Tuple, Union
|
||||
|
||||
from waitress.adjustments import Adjustments
|
||||
from waitress.receiver import ChunkedReceiver, FixedStreamReceiver
|
||||
@@ -38,6 +38,6 @@ class HTTPRequestParser:
|
||||
def split_uri(uri: bytes) -> Tuple[str, str, bytes, str, str]: ...
|
||||
def get_header_lines(header: bytes) -> Sequence[bytes]: ...
|
||||
|
||||
first_line_re: Pattern
|
||||
first_line_re: Pattern[Any]
|
||||
|
||||
def crack_first_line(line: str) -> Tuple[bytes, bytes, bytes]: ...
|
||||
|
||||
Reference in New Issue
Block a user