Skip to content

Commit

Permalink
Improve MultiValueDict/QueryDict dict() return (#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
intgr committed Mar 31, 2022
1 parent 212ef40 commit 49d8555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/utils/datastructures.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class MultiValueDict(MutableMapping[_K, _V]):
def setlistdefault(self, key: _K, default_list: Optional[List[_V]] = ...) -> List[_V]: ...
def appendlist(self, key: _K, value: _V) -> None: ...
def lists(self) -> Iterable[Tuple[_K, List[_V]]]: ...
def dict(self) -> Dict[_K, Union[_V, List[_V]]]: ...
def dict(self) -> Dict[_K, _V]: ...
def copy(self: _D) -> _D: ...
# These overrides are needed to convince mypy that this isn't an abstract class
def __delitem__(self, item: _K) -> None: ...
Expand Down

0 comments on commit 49d8555

Please sign in to comment.