bugfgix
This commit is contained in:
parent
fa32e0ac96
commit
3d7e4a4fd6
@ -29,6 +29,10 @@ class DictObject(dict):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
def __getitem__(self, key):
|
||||||
|
v = super().__getitem__(key)
|
||||||
|
return self.__DOitem(v)
|
||||||
|
|
||||||
def __setattr__(self, attr, value):
|
def __setattr__(self, attr, value):
|
||||||
"""
|
"""
|
||||||
实现点操作符设置字典中的键值对
|
实现点操作符设置字典中的键值对
|
||||||
|
Loading…
Reference in New Issue
Block a user