File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3478,9 +3478,9 @@ These functions are all available on Linux only.
3478
3478
indirectly through the :class: `PathLike ` interface). If it is a str,
3479
3479
it is encoded with the :term: `filesystem encoding and error handler `. *flags * may be
3480
3480
:data: `XATTR_REPLACE ` or :data: `XATTR_CREATE `. If :data: `XATTR_REPLACE ` is
3481
- given and the attribute does not exist, ``EEXISTS `` will be raised.
3481
+ given and the attribute does not exist, ``ENODATA `` will be raised.
3482
3482
If :data: `XATTR_CREATE ` is given and the attribute already exists, the
3483
- attribute will not be created and ``ENODATA `` will be raised.
3483
+ attribute will not be created and ``EEXISTS `` will be raised.
3484
3484
3485
3485
This function can support :ref: `specifying a file descriptor <path_fd >` and
3486
3486
:ref: `not following symlinks <follow_symlinks >`.
You can’t perform that action at this time.
0 commit comments