259
class multichangeattr(changeattr):
261
"""a changeable attr, which selects a changeable attr from
262
a given dict (or list) of changeable attrs depending on the
263
value of total in the select call"""
265
def __init__(self, changeattrs):
266
self.changeattrs = changeattrs
268
def select(self, index, total):
269
return self.changeattrs[total].select(index, total)