- def _get_cells(self):
- # XXX generator + docstring
- cells = []
- for row in xrange(self._grid._box_height):
- for col in xrange(self._grid._box_width):
- cell_row = row + self.box_row * self._grid._box_height
- cell_col = col + self.box_column * self._grid._box_width
- cells.append(self._grid.cell(cell_row, cell_col))
- return cells
- cells = property(_get_cells)
-