pass things into the dict

This commit is contained in:
Kenneth Reitz
2011-05-14 22:02:14 -04:00
parent 85b8b2bd44
commit 35beda21b8
+2 -2
View File
@@ -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__()