mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from email.charset import Charset
|
||||
from typing import Any, Tuple
|
||||
from typing import Any
|
||||
|
||||
class Header:
|
||||
def __init__(
|
||||
@@ -17,9 +17,9 @@ class Header:
|
||||
def __eq__(self, other: Any) -> bool: ...
|
||||
def __ne__(self, other: Any) -> bool: ...
|
||||
|
||||
def decode_header(header: Header | str) -> list[Tuple[bytes, str | None]]: ...
|
||||
def decode_header(header: Header | str) -> list[tuple[bytes, str | None]]: ...
|
||||
def make_header(
|
||||
decoded_seq: list[Tuple[bytes, str | None]],
|
||||
decoded_seq: list[tuple[bytes, str | None]],
|
||||
maxlinelen: int | None = ...,
|
||||
header_name: str | None = ...,
|
||||
continuation_ws: str = ...,
|
||||
|
||||
Reference in New Issue
Block a user