(s)
Convert a text or binary string to the native string format.
Convert a text or binary string to the native string format.
Convert a text or binary string to the native string format .
def to_native_string(s):
  """Convert a text or binary string to the native string format."""
  if isinstance(s, bytes):
    return s.decode(DEFAULT_ENCODING)
  else:
    return s
def to_native_string ( s ) : if isinstance ( s , bytes ) : return s . decode ( DEFAULT_ENCODING ) else : return s