

def set(self, rc=None, index=None, *args, **kwargs):
    "If rc is specified (either 'row' or 'col') then it is assumes that\n        args (if given) represents values which will be set into the\n        subsequent columns (if row is specified) or rows (for col).\n        If index is not None and args is not given, then it will return the\n        value(s) for the cell(s) specified.\n\n        If kwargs is given, assumes that each key in kwargs is a index in this\n        table and sets the specified index to the associated value. Table\n        validation will not be triggered via this method.\n\n        Note that the table must have an associated array (defined through the\n        variable option) in order to this work."
    if ((not args) and (index is not None)):
        if rc:
            args = (rc, index)
        else:
            args = (index,)
        return self.tk.call(self._w, 'set', *args)
    if (rc is None):
        args = tkinter._flatten(list(kwargs.items()))
        self.tk.call(self._w, 'set', *args)
    else:
        self.tk.call(index._w, 'set', rc, index, args)

dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py Table.set/VarMisuse@139/409 `self`->`index`