Kaydet (Commit) f07091a3 authored tarafından Taoufik's avatar Taoufik Kaydeden (comit) Tim Graham

Fixed typo in django/utils/datastructures.py.

üst a1ffbfb8
...@@ -193,7 +193,7 @@ class MultiValueDict(dict): ...@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment