def __init__(self, func, subst, widget):
        self.func = func
        self.subst = subst
        self.widget = widget
Store FUNC, SUBST and WIDGET as members.
dataset/ETHPy150Open Arelle/Arelle/arelle/CntlrWinMain.py/TkinterCallWrapper.__init__