

def _tabsubst(self, *args):
    if (len(args) != len(self._tabsubst_format)):
        return args
    tk = self.tk
    (c, C, i, r, s, S, W) = args
    e = tkinter.Event()
    e.widget = self
    e.c = tk.getint(c)
    e.i = tk.getint(i)
    e.r = tk.getint(r)
    e.C = ('%d,%d' % (e.r, e.c))
    e.s = s
    e.S = S
    try:
        e.W = self._nametowidget(W)
    except KeyError:
        e.W = None
    return (e,)

dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py Table._tabsubst/original