Skip to content

Commit ccdc0c9

Browse files
[3.14] Doc/library/os.rst: Remove spurious parenthesis (pythonGH-139205) (python#139217)
`Doc/library/os.rst`: Remove spurious parenthesis (pythonGH-139205) (cherry picked from commit 9c3d09b) Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 665a349 commit ccdc0c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/os.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,8 +2009,8 @@ features:
20092009
must be a string specifying a file path. However, some functions now
20102010
alternatively accept an open file descriptor for their *path* argument.
20112011
The function will then operate on the file referred to by the descriptor.
2012-
(For POSIX systems, Python will call the variant of the function prefixed
2013-
with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).)
2012+
For POSIX systems, Python will call the variant of the function prefixed
2013+
with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).
20142014

20152015
You can check whether or not *path* can be specified as a file descriptor
20162016
for a particular function on your platform using :data:`os.supports_fd`.
@@ -2025,7 +2025,7 @@ features:
20252025
* **paths relative to directory descriptors:** If *dir_fd* is not ``None``, it
20262026
should be a file descriptor referring to a directory, and the path to operate
20272027
on should be relative; path will then be relative to that directory. If the
2028-
path is absolute, *dir_fd* is ignored. (For POSIX systems, Python will call
2028+
path is absolute, *dir_fd* is ignored. For POSIX systems, Python will call
20292029
the variant of the function with an ``at`` suffix and possibly prefixed with
20302030
``f`` (e.g. call ``faccessat`` instead of ``access``).
20312031

@@ -2038,8 +2038,8 @@ features:
20382038
* **not following symlinks:** If *follow_symlinks* is
20392039
``False``, and the last element of the path to operate on is a symbolic link,
20402040
the function will operate on the symbolic link itself rather than the file
2041-
pointed to by the link. (For POSIX systems, Python will call the ``l...``
2042-
variant of the function.)
2041+
pointed to by the link. For POSIX systems, Python will call the ``l...``
2042+
variant of the function.
20432043

20442044
You can check whether or not *follow_symlinks* is supported for a particular
20452045
function on your platform using :data:`os.supports_follow_symlinks`.

0 commit comments

Comments
 (0)