

def spans(self, index=None, **kwargs):
    'Manipulate row/col spans.\n\n        When called with no arguments, all known spans are returned as a dict.\n        When called with only the index, the span for that index only is\n        returned, if any. Otherwise kwargs is assumed to contain keys/values\n        pairs used to set spans. A span starts at the row,col defined by a key\n        and continues for the specified number of rows,cols specified by\n        its value. A span of 0,0 unsets any span on that cell.'
    if self:
        args = tkinter._flatten(list(kwargs.items()))
        self.tk.call(self._w, 'spans', *args)
    else:
        return self.tk.call(self._w, 'spans', index)

dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py Table.spans/VarMisuse@20/210 `kwargs`->`self`