Shorten str for case insensitive dict
authorAvi Das <adas@colgate.edu>
Sun, 23 Mar 2014 16:38:37 +0000 (11:38 -0500)
committerAvi Das <adas@colgate.edu>
Sun, 23 Mar 2014 16:38:37 +0000 (11:38 -0500)
requests/structures.py

index a710e9bb1ba830b6a08ea82723e987feadbf73eb..3aa090e89645365334b2f6eb7615ba66b046f6b1 100644 (file)
@@ -109,7 +109,7 @@ class CaseInsensitiveDict(collections.MutableMapping):
         return '%s(%r)' % (self.__class__.__name__, dict(self.items()))
 
     def __str__(self):
-        return '%s' % (dict(self.items()))
+        return str(dict(self.items()))
 
 
 class LookupDict(dict):