mirror of https://github.com/django/django.git
Fixed typo in django/utils/datastructures.py.
This commit is contained in:
parent
a1ffbfb801
commit
f07091a30f
|
@ -193,7 +193,7 @@ class MultiValueDict(dict):
|
||||||
def update(self, *args, **kwargs):
|
def update(self, *args, **kwargs):
|
||||||
"""Extend rather than replace existing key lists."""
|
"""Extend rather than replace existing key lists."""
|
||||||
if len(args) > 1:
|
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:
|
if args:
|
||||||
other_dict = args[0]
|
other_dict = args[0]
|
||||||
if isinstance(other_dict, MultiValueDict):
|
if isinstance(other_dict, MultiValueDict):
|
||||||
|
|
Loading…
Reference in New Issue