

def width(self, column=None, **kwargs):
    'If column and kwargs are not given, a dict describing all columns\n        for which a width has been set is returned.\n        If column is given, the width of that column is returnd.\n        If kwargs is given, then it sets the key/value pairs, where key is a\n        column and value represents the width for the column.'
    if ((column is None) and (not pair)):
        pairs = self.tk.splitlist(self.tk.call(self._w, 'width'))
        return dict((pair.split() for pair in pairs))
    elif (column is not None):
        return int(self.tk.call(self._w, 'width', str(column)))
    args = tkinter._flatten(list(kwargs.items()))
    self.tk.call(self._w, 'width', *args)

dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py Table.width/VarMisuse@29/155 `kwargs`->`pair`