Skip to content

Commit

Permalink
Fixed #5540 -- Made __repr__() for MultiValueDict more generic. Thank…
Browse files Browse the repository at this point in the history
…s, Thomas Guttler

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

0 comments on commit 4704412

Please sign in to comment.