parameters: (self, text)
return_statement: return replace(text, '\n\n', '\n \n', '\n\n', '\n \n',
                               ' ', '&nbsp;', '\n', '<br>\n')
docstring: Format literal preformatted text.
docstring_summary: Format literal preformatted text.
docstring_tokens: Format literal preformatted text .
function: def preformat(self, text):
          """Format literal preformatted text."""
          text = self.escape(text.expandtabs())
          return replace(text, '\n\n', '\n \n', '\n\n', '\n \n',
                               ' ', '&nbsp;', '\n', '<br>\n')
function_tokens: def preformat ( self , text ) : text = self . escape ( text . expandtabs ( ) ) return replace ( text , '\n\n' , '\n \n' , '\n\n' , '\n \n' , ' ' , '&nbsp;' , '\n' , '<br>\n' )