(self, to_height)
Try to change the number of rows.
Try to change the number of rows.
Try to change the number of rows .
def set_height(self, to_height):
        """Try to change the number of rows."""
        # number != 25 is ignored on tandy, error elsewhere
        # otherwise nothing happens
        if self._adapter in ('pcjr', 'tandy'):
            error.range_check(0, 25, to_height)
        else:
            error.range_check(25, 25, to_height)
def set_height ( self , to_height ) : # number != 25 is ignored on tandy, error elsewhere # otherwise nothing happens if self . _adapter in ( 'pcjr' , 'tandy' ) : error . range_check ( 0 , 25 , to_height ) else : error . range_check ( 25 , 25 , to_height )