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:
85b8b2b
)
pass things into the dict
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 15 May 2011 02:02:14 +0000
(22:02 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 15 May 2011 02:02:14 +0000
(22:02 -0400)
requests/structures.py
patch
|
blob
|
history
diff --git
a/requests/structures.py
b/requests/structures.py
index dcf47d62f35cadae1a721cb6c39b904bd0275156..391ddb1a7483d90956d050fac379f3ed547205e3 100644
(file)
--- a/
requests/structures.py
+++ b/
requests/structures.py
@@
-14,9
+14,9
@@
from UserDict import DictMixin
class CaseInsensitiveDict(DictMixin):
"""docstring for CaseInsensitiveDict"""
- def __init__(self):
+ def __init__(self
, *args, **kwargs
):
# super(CaseInsensitiveDict, self).__init__()
- self.data = dict()
+ self.data = dict(
*args, **kwargs
)
def __repr__(self):
return self.data.__repr__()