diff -r 6ce6707743d9 Doc/library/os.rst --- a/Doc/library/os.rst Wed Aug 22 08:38:04 2012 +0300 +++ b/Doc/library/os.rst Wed Aug 22 04:46:46 2012 -0700 @@ -697,15 +697,6 @@ Availability: Unix, Windows. -.. function:: fchmod(fd, mode) - - Change the mode of the file given by *fd* to the numeric *mode*. See the - docs for :func:`chmod` for possible values of *mode*. As of Python 3.3, this - is equivalent to ``os.chmod(fd, mode)``. - - Availability: Unix. - - .. function:: fchown(fd, uid, gid) Change the owner and group id of the file given by *fd* to the numeric *uid* @@ -1391,6 +1382,15 @@ and the *dir_fd* and *follow_symlinks* arguments. +.. function:: fchmod(fd, mode) + + Change the mode of the file given by *fd* to the numeric *mode*. See the + docs for :func:`chmod` for possible values of *mode*. As of Python 3.3, this + is equivalent to ``os.chmod(fd, mode)``. + + Availability: Unix. + + .. function:: chown(path, uid, gid, *, dir_fd=None, follow_symlinks=True) Change the owner and group id of *path* to the numeric *uid* and *gid*. To