#NEWLINE# def get( self ) : #NEWLINE# #INDENT# "\n        Return the accumulated unicode string; If there are presently\n        any trailing bytes that don't make up a full character, they\n        will not affect the result.\n        " #NEWLINE# if ( buf . _buf and isinstance ( self . _buf [ ( - 1 ) ] , str ) ) : #NEWLINE# #INDENT# buf = self . _buf [ : ( - 1 ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# buf = self . _buf #NEWLINE# #UNINDENT# return '' . join ( buf )