def __delattr__(self, name):
if name[0:2] != "EO" and name[0:2] != "VM":
del self.__dict__[name]
else:
wrapped = System.Collections.Generic.IDictionary[System.String, System.Object](self)
if wrapped.Remove(name):
return
else:
raise AttributeError, "%s instance's ExpandoObject has no attribute '%s'" % (type(self).__name__, name)
评论列表
文章目录