pypdflite/pdfdocument.py
def add_newline(self, number=1):
        """ Starts over again at the new line. If number is specified,
            it will leave multiple lines."""
        if isinstance(number, int):
            try:
                self.page._add_newline(self.font, number, self.double_spacing)
            except ValueError:
                self.add_page()
        else:
            raise TypeError("Number of newlines must be an integer.")
def add_newline(self, number=1):
        """ Starts over again at the new line. If number is specified,
            it will leave multiple lines."""
        if isinstance(number, int):
            try:
                self.page._add_newline(self.font, number, self.double_spacing)
            except ValueError:
                self.add_page()
        else:
            raise TypeError("Number of newlines must be an integer.")
def add_newline ( self , number = 1 ) : if isinstance ( number , int ) : try : self . page . _add_newline ( self . font , number , self . double_spacing ) except ValueError : self . add_page ( ) else : raise TypeError ( "Number of newlines must be an integer." )
Starts over again at the new line. If number is specified,
            it will leave multiple lines.
Starts over again at the new line . If number is specified it will leave multiple lines .