def CalculateCellPadding(self):
        """
        Return a four-tuple that indicates pixel padding (left, top, right, bottom)
        around cells in this format
        """
        if self.CellPadding:
            cellPadding = list(self.CellPadding)
        else:
            cellPadding = 0, 0, 0, 0

        if self.GridPen:
            penFactor = int(2/(self.GridPen.GetWidth()+1))
            cellPadding = [x + penFactor for x in cellPadding]

        return cellPadding

    #----------------------------------------------------------------------------
    # Decorations
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/lib/ObjectListView/ListCtrlPrinter.py/BlockFormat.CalculateCellPadding/swapped operands of `/`