0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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

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