code: def _gen_3spec(op, path, xattr=False):
      
      flags = 0
      if xattr:
          flags |= _P.SDSPEC_F_XATTR
      return Spec(op, path, flags)
docs: Returns a Spec tuple suitable for passing to the underlying C extension.
      This variant is called for operations that lack an input value.
  
      :param str path: The path to fetch
      :param bool xattr: Whether this is an extended attribute
      :return: a spec suitable for passing to the underlying C extension