mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
@@ -30,7 +30,7 @@ class Policy:
|
||||
class Compat32(Policy):
|
||||
def header_source_parse(self, sourcelines: list[str]) -> tuple[str, str]: ...
|
||||
def header_store_parse(self, name: str, value: str) -> tuple[str, str]: ...
|
||||
def header_fetch_parse(self, name: str, value: str) -> str | Header: ... # type: ignore
|
||||
def header_fetch_parse(self, name: str, value: str) -> str | Header: ... # type: ignore[override]
|
||||
def fold(self, name: str, value: str) -> str: ...
|
||||
def fold_binary(self, name: str, value: str) -> bytes: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user