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:
Adrian Holovaty 2007-09-20 01:56:02 +00:00
parent 31a07e8cf9
commit 4704412bb3
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class MultiValueDict(dict):
dict.__init__(self, key_to_list_mapping)
def __repr__(self):
return "<MultiValueDict: %s>" % dict.__repr__(self)
return "<%s: %s>" % (self.__class__.__name__, dict.__repr__(self))
def __getitem__(self, key):
"""