From: Kenneth Reitz Date: Sun, 15 May 2011 02:02:14 +0000 (-0400) Subject: pass things into the dict X-Git-Tag: v0.4.0^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35beda21b8187f7a5e99d76084c7ddbd05f4b738;p=services%2Fpython-requests.git pass things into the dict --- diff --git a/requests/structures.py b/requests/structures.py index dcf47d6..391ddb1 100644 --- 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__()