def __init__(self, *values):
# _values and _values_dict hold the same instances; the list is to
# preserve order and the dict is for fast access via __getitem__
self._values = []
self._values_dict = {}
self._on_change = Signal()
self.load(*values)
评论列表
文章目录