summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst20
1 files changed, 13 insertions, 7 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index bd8480c..1b5eb49 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -422,6 +422,8 @@ by file descriptors.
Change the mode of the file given by *fd* to the numeric *mode*. See the docs
for :func:`chmod` for possible values of *mode*. Availability: Unix.
+ .. versionadded:: 2.6
+
.. function:: fchown(fd, uid, gid)
@@ -429,6 +431,8 @@ by file descriptors.
and *gid*. To leave one of the ids unchanged, set it to -1.
Availability: Unix.
+ .. versionadded:: 2.6
+
.. function:: fdatasync(fd)
@@ -488,13 +492,6 @@ by file descriptors.
tty(-like) device, else ``False``. Availability: Macintosh, Unix.
-.. function:: lchmod(path, mode)
-
- Change the mode of *path* to the numeric *mode*. If path is a symlink, this
- affects the symlink rather than the target. See the docs for :func:`chmod`
- for possible values of *mode*. Availability: Unix.
-
-
.. function:: lseek(fd, pos, how)
Set the current position of file descriptor *fd* to position *pos*, modified by
@@ -800,6 +797,15 @@ Files and Directories
follow symbolic links. Availability: Unix.
+.. function:: lchmod(path, mode)
+
+ Change the mode of *path* to the numeric *mode*. If path is a symlink, this
+ affects the symlink rather than the target. See the docs for :func:`chmod`
+ for possible values of *mode*. Availability: Unix.
+
+ .. versionadded:: 2.6
+
+
.. function:: lchown(path, uid, gid)
Change the owner and group id of *path* to the numeric *uid* and gid. This