File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3237,9 +3237,9 @@ These functions are all available on Linux only.
3237
3237
indirectly through the :class: `PathLike ` interface). If it is a str,
3238
3238
it is encoded with the filesystem encoding. *flags * may be
3239
3239
:data: `XATTR_REPLACE ` or :data: `XATTR_CREATE `. If :data: `XATTR_REPLACE ` is
3240
- given and the attribute does not exist, ``EEXISTS `` will be raised.
3240
+ given and the attribute does not exist, ``ENODATA `` will be raised.
3241
3241
If :data: `XATTR_CREATE ` is given and the attribute already exists, the
3242
- attribute will not be created and ``ENODATA `` will be raised.
3242
+ attribute will not be created and ``EEXISTS `` will be raised.
3243
3243
3244
3244
This function can support :ref: `specifying a file descriptor <path_fd >` and
3245
3245
:ref: `not following symlinks <follow_symlinks >`.
You can’t perform that action at this time.
0 commit comments