Fixed typo in django/utils/datastructures.py.

This commit is contained in:
Taoufik 2018-10-14 16:20:22 +01:00 committed by Tim Graham
parent a1ffbfb801
commit f07091a30f
1 changed files with 1 additions and 1 deletions

View File

@ -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):