def string_result(result, func, arguments):
 if result:
  s = bytes_to_str(ctypes.string_at(result))
  libvlc_free(result)
  return s
 return None

def string_result ( result , func , arguments ) : if result : s = bytes_to_str ( ctypes . string_at ( result ) ) libvlc_free ( result ) return s return None
errcheck function .