pypdflite/pdfobjects/pdfcursor.py
def y_fit(self, test_length):
        """ Test to see if the page has enough space for the given text height. """
        if (self.y + test_length) >= self.ymax:
            return False
        else:
            return True
def y_fit(self, test_length):
        if (self.y + test_length) >= self.ymax:
            return False
        else:
            return True
def y_fit ( self , test_length ) : if ( self . y + test_length ) >= self . ymax : return False else : return True
Test to see if the page has enough space for the given text height.
Test to see if the page has enough space for the given text height .