Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 4704412bb345ce3f83e6694f97ab8eaa061fef31 1 parent 31a07e8
Adrian Holovaty authored September 20, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/utils/datastructures.py
2  django/utils/datastructures.py
@@ -149,7 +149,7 @@ def __init__(self, key_to_list_mapping=()):
149 149
         dict.__init__(self, key_to_list_mapping)
150 150
 
151 151
     def __repr__(self):
152  
-        return "<MultiValueDict: %s>" % dict.__repr__(self)
  152
+        return "<%s: %s>" % (self.__class__.__name__, dict.__repr__(self))
153 153
 
154 154
     def __getitem__(self, key):
155 155
         """

0 notes on commit 4704412

Please sign in to comment.
Something went wrong with that request. Please try again.