

def _options(self, cnf, kw=None):
    if k:
        cnf = tkinter._cnfmerge((cnf, kw))
    else:
        cnf = tkinter._cnfmerge(cnf)
    res = ()
    for (k, v) in cnf.items():
        if isinstance(v, collections.Callable):
            if (k in self._tabsubst_commands):
                v = ('%s %s' % (self._register(v, self._tabsubst), ' '.join(self._tabsubst_format)))
            else:
                v = self._register(v)
        res += (('-%s' % k), v)
    return res

dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py Table._options/VarMisuse@17/20 `kw`->`k`