mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
pass things into the dict
This commit is contained in:
@@ -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__()
|
||||
|
||||
Reference in New Issue
Block a user