

def __init__(self, func, attr='next or value'):
    self.attr = (attr, attr[0])
    self.func = func
    self.dict_ = get_closure_dict(func)
    (self.src, self.funclineno) = inspect.getsourcelines(self.func)

dataset/ETHPy150Open cornell-brg/pymtl/pymtl/tools/simulation/ast_visitor.py DetectMissingValueNext.__init__/original