class Bunch(dict):
def __init__(self, *args, **kwds):
super(Bunch, self),__init__(*args, **kwds)
self.__dict__ = self
Bunch设计模式
最新推荐文章于 2022-11-18 10:50:05 发布
class Bunch(dict):
def __init__(self, *args, **kwds):
super(Bunch, self),__init__(*args, **kwds)
self.__dict__ = self