def advance(self, height, ignore_overflow=False):
        """Advance the cursor by `height`. If this would cause the cursor to
        point beyond the bottom of the container, an :class:`EndOfContainer`
        exception is raised."""
        if height <= self.remaining_height:
            self._self_cursor.grow(height)
        elif ignore_overflow:
            self._self_cursor.grow(float(self.remaining_height))
        else:
            raise ContainerOverflow(self.page.number)
def advance ( self , height , ignore_overflow = False ) : if height <= self . remaining_height : self . _self_cursor . grow ( height ) elif ignore_overflow : self . _self_cursor . grow ( float ( self . remaining_height ) ) else : raise ContainerOverflow ( self . page . number )
Advance the cursor by `height`. If this would cause the cursor to
        point beyond the bottom of the container, an :class:`EndOfContainer`
        exception is raised.