[2.1.x] Fixed typo in django/utils/datastructures.py.
Backport of f07091a30fbac713a03d292ec1c901f0a7757440 from master
This commit is contained in:
parent
1996889522
commit
6efe2ba057
@ -193,7 +193,7 @@ class MultiValueDict(dict):
|
||||
def update(self, *args, **kwargs):
|
||||
"""Extend rather than replace existing key lists."""
|
||||
if len(args) > 1:
|
||||
raise TypeError("update expected at most 1 arguments, got %d" % len(args))
|
||||
raise TypeError("update expected at most 1 argument, got %d" % len(args))
|
||||
if args:
|
||||
other_dict = args[0]
|
||||
if isinstance(other_dict, MultiValueDict):
|
||||
|
Loading…
x
Reference in New Issue
Block a user