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 @@ -3250,9 +3250,9 @@ These functions are all available on Linux only.
3250
3250
indirectly through the :class: `PathLike ` interface). If it is a str,
3251
3251
it is encoded with the filesystem encoding. *flags * may be
3252
3252
:data: `XATTR_REPLACE ` or :data: `XATTR_CREATE `. If :data: `XATTR_REPLACE ` is
3253
- given and the attribute does not exist, ``EEXISTS `` will be raised.
3253
+ given and the attribute does not exist, ``ENODATA `` will be raised.
3254
3254
If :data: `XATTR_CREATE ` is given and the attribute already exists, the
3255
- attribute will not be created and ``ENODATA `` will be raised.
3255
+ attribute will not be created and ``EEXISTS `` will be raised.
3256
3256
3257
3257
This function can support :ref: `specifying a file descriptor <path_fd >` and
3258
3258
:ref: `not following symlinks <follow_symlinks >`.
You can’t perform that action at this time.
0 commit comments