#NEWLINE# def _xg_characters( self , serialized_value ) : #NEWLINE# #INDENT# if ( not isinstance ( serialized_value , six . text_type ) ) : #NEWLINE# #INDENT# serialized_value = serialized_value . decode ( serialized_value . encoding ) #NEWLINE# #UNINDENT# return self . xg . characters ( serialized_value )