Browse files

Fixed #5540 -- Made __repr__() for MultiValueDict more generic. Thank…

…s, Thomas Guttler

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 31a07e8 commit 4704412bb345ce3f83e6694f97ab8eaa061fef31 @adrianholovaty adrianholovaty committed Sep 20, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/datastructures.py
View
2 django/utils/datastructures.py
@@ -149,7 +149,7 @@ def __init__(self, key_to_list_mapping=()):
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):
"""

0 comments on commit 4704412

Please sign in to comment.