projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5893cfc
)
CaseInsensitiveDict now looks like a normal dict
author
Kenneth Reitz
<me@kennethreitz.com>
Mon, 12 May 2014 19:10:15 +0000
(15:10 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Mon, 12 May 2014 19:10:15 +0000
(15:10 -0400)
requests/structures.py
patch
|
blob
|
history
diff --git
a/requests/structures.py
b/requests/structures.py
index 3aa090e89645365334b2f6eb7615ba66b046f6b1..9fd78187f2b25df4d6a0aa3e1ac9d3314ca08f9f 100644
(file)
--- a/
requests/structures.py
+++ b/
requests/structures.py
@@
-106,12
+106,8
@@
class CaseInsensitiveDict(collections.MutableMapping):
return CaseInsensitiveDict(self._store.values())
def __repr__(self):
- return '%s(%r)' % (self.__class__.__name__, dict(self.items()))
-
- def __str__(self):
return str(dict(self.items()))
-
class LookupDict(dict):
"""Dictionary lookup object."""