#NEWLINE# def dumps( self ) : #NEWLINE# #INDENT# ' Return a string with the translated code.\n        ' #NEWLINE# text = self . _text #NEWLINE# pos = len ( self . _text ) #NEWLINE# pieces = [ ] #NEWLINE# for t in reversed ( self . tokens ) : #NEWLINE# #INDENT# pieces . append ( text [ t . end : pos ] ) #NEWLINE# pieces . append ( ( t . fix if ( t . fix is not None ) else t . text ) ) #NEWLINE# pos = t . start #NEWLINE# #UNINDENT# pieces . append ( text [ : pos ] ) #NEWLINE# return '' . join ( reversed ( self ) )