#NEWLINE# def fetch( self ) : #NEWLINE# #INDENT# '\n        Empties buffer and returns its content.\n\n        :rtype: str\n        ' #NEWLINE# content = self . buffer #NEWLINE# self . buffer = '' #NEWLINE# return content