Ticket #4106: datastructures_multivaluedict_typo.diff
File datastructures_multivaluedict_typo.diff, 673 bytes (added by , 18 years ago) |
---|
-
django/utils/datastructures.py
211 211 def update(self, *args, **kwargs): 212 212 "update() extends rather than replaces existing key lists. Also accepts keyword args." 213 213 if len(args) > 1: 214 raise TypeError, "update expected at most 1 arguments, got %d" ,len(args)214 raise TypeError, "update expected at most 1 arguments, got %d" % len(args) 215 215 if args: 216 216 other_dict = args[0] 217 217 if isinstance(other_dict, MultiValueDict):