Source code for pytconf.param_collector

[docs] class ParamCollector: def __init__(self): self.data = []
[docs] def add_data(self, item): self.data.append(item)
[docs] def clear(self): self.data = []
[docs] def get_item(self, i): return self.data[i]
[docs] def yield_items(self): yield from self.data
the_collector: ParamCollector = ParamCollector()