parameters: (n, encoding='ISO-8859-1')
return_statement: return n
docstring: Return the given string as a native string in the given encoding.
docstring_summary: Return the given string as a native string in the given encoding.
docstring_tokens: Return the given string as a native string in the given encoding .
function: def tonative(n, encoding='ISO-8859-1'):
      """Return the given string as a native string in the given encoding."""
      # In Python 3, the native string type is unicode
      if isinstance(n, bytes):
          return n.decode(encoding)
      return n
function_tokens: def tonative ( n , encoding = 'ISO-8859-1' ) : # In Python 3, the native string type is unicode if isinstance ( n , bytes ) : return n . decode ( encoding ) return n