mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-22 11:51:29 +08:00
fix values_list
This commit is contained in:
@@ -40,6 +40,7 @@ class MultiValueDict(MutableMapping[_K, _V]):
|
||||
def appendlist(self, key: _K, value: _V) -> None: ...
|
||||
def lists(self) -> Iterable[Tuple[_K, List[_V]]]: ...
|
||||
def dict(self) -> Dict[_K, _Val]: ...
|
||||
def copy(self) -> MultiValueDict[_K, _V]: ...
|
||||
# These overrides are needed to convince mypy that this isn't an abstract class
|
||||
def __delitem__(self, item: _K) -> None: ...
|
||||
def __getitem__(self, item: _K) -> _Val: ... # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user