def npath(path):
 if ((not six.PY3) and (not isinstance(path, bytes))):
  return path.encode(fs_encoding)
 return path

def npath ( path ) : if ( ( not six . PY3 ) and ( not isinstance ( path , bytes ) ) ) : return path . encode ( fs_encoding ) return path
always return a native path .