This commit is contained in:
yumoqing 2020-06-07 21:23:50 +08:00
parent 297970793e
commit 2f8cbb692c

View File

@ -14,6 +14,7 @@ def multiDict2Dict(md):
class DictObject: class DictObject:
def __init__(self,**kw): def __init__(self,**kw):
self.__dict__['_kwargs'] = {} self.__dict__['_kwargs'] = {}
print('__dict__=',self.__dict__)
for k,v in kw.items(): for k,v in kw.items():
self._kwargs.update({k:self.__DOitem(v)}) self._kwargs.update({k:self.__DOitem(v)})