Fixed #5540 -- Made __repr__() for MultiValueDict more generic. Thanks, Thomas Guttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
31a07e8cf9
commit
4704412bb3
|
@ -149,7 +149,7 @@ class MultiValueDict(dict):
|
||||||
dict.__init__(self, key_to_list_mapping)
|
dict.__init__(self, key_to_list_mapping)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<MultiValueDict: %s>" % dict.__repr__(self)
|
return "<%s: %s>" % (self.__class__.__name__, dict.__repr__(self))
|
||||||
|
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue