Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 64883ac

Browse files
Lie to Sphinx.
1 parent 5f5f826 commit 64883ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/os.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,7 +2027,7 @@ features:
20272027
Accepts a :term:`path-like object`.
20282028

20292029

2030-
.. function:: chmod(path, mode, *, dir_fd=None, follow_symlinks=(os.name != 'nt'))
2030+
.. function:: chmod(path, mode, *, dir_fd=None, follow_symlinks=True)
20312031

20322032
Change the mode of *path* to the numeric *mode*. *mode* may take one of the
20332033
following values (as defined in the :mod:`stat` module) or bitwise ORed
@@ -2062,7 +2062,7 @@ features:
20622062
Although Windows supports :func:`chmod`, you can only set the file's
20632063
read-only flag with it (via the ``stat.S_IWRITE`` and ``stat.S_IREAD``
20642064
constants or a corresponding integer value). All other bits are ignored.
2065-
By default, :func:`chmod` on Windows does not follow symlinks.
2065+
The default value of *follow_symlinks* on Windows is ``False``.
20662066

20672067
The function is limited on Emscripten and WASI, see
20682068
:ref:`wasm-availability` for more information.

0 commit comments

Comments
 (0)