#NEWLINE# def as_string( self ) : #NEWLINE# #INDENT# "Retrieves the Field's value as a string." #NEWLINE# string = capi . get_field_as_string ( self . _feat . ptr , self . _index ) #NEWLINE# return force_text ( self , encoding = self . _feat . encoding , strings_only = True )