mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
@@ -80,9 +80,9 @@ class Message:
|
||||
@overload
|
||||
def get_content_charset(self, failobj: _T) -> str | _T: ...
|
||||
@overload
|
||||
def get_charsets(self, failobj: None = None) -> list[str] | None: ...
|
||||
def get_charsets(self, failobj: None = None) -> list[str | None]: ...
|
||||
@overload
|
||||
def get_charsets(self, failobj: _T) -> list[str] | _T: ...
|
||||
def get_charsets(self, failobj: _T) -> list[str | _T]: ...
|
||||
def walk(self) -> Generator[Self, None, None]: ...
|
||||
def get_content_disposition(self) -> str | None: ...
|
||||
def as_string(self, unixfrom: bool = False, maxheaderlen: int = 0, policy: Policy | None = None) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user