Removed a bunch of unused import symbols detected by pyright. (#5060)

Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Eric TrautandEric Traut authored and GitHub committed 2021-02-23 19:46:46 +01:00
1 parent 507ca60ff8
commit c7c025ae08
9 files changed
+10 -21

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
import sys
from io import TextIOWrapper
from typing import Any, Optional, Tuple
+2 -2
View File
@@ -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]: ...