mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
1 parent
1278fa86e2
commit
a5bc1e037f
74 files changed
+218
-202
No files matched your search
@@ -29,7 +29,7 @@ class Morsel(Dict[str, Any], Generic[_T]):
|
||||
def set(self, key: str, val: str, coded_val: _T, LegalChars: str = ...) -> None: ...
|
||||
def setdefault(self, key: str, val: str | None = ...) -> str: ...
|
||||
# The dict update can also get a keywords argument so this is incompatible
|
||||
@overload # type: ignore
|
||||
@overload # type: ignore[override]
|
||||
def update(self, values: Mapping[str, str]) -> None: ...
|
||||
@overload
|
||||
def update(self, values: Iterable[tuple[str, str]]) -> None: ...
|
||||
|
||||
Reference in new issue
Block a user