(self)
return self.border_widths
Return border width for each side top, left, bottom, right.
Return border width for each side top, left, bottom, right.
Return border width for each side top left bottom right .
def get_border_widths(self):
        """Return border width for each side top, left, bottom, right."""
        if type(self.border_widths) is int:   # uniform size
            return [self.border_widths] * 4
        return self.border_widths
def get_border_widths ( self ) : if type ( self . border_widths ) is int : # uniform size return [ self . border_widths ] * 4 return self . border_widths