Skip to content

Commit 9c3d09b

Browse files
Doc/library/os.rst: Remove spurious parenthesis (GH-139205)
1 parent cb6fed0 commit 9c3d09b

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
@@ -2017,8 +2017,8 @@ features:
20172017
must be a string specifying a file path. However, some functions now
20182018
alternatively accept an open file descriptor for their *path* argument.
20192019
The function will then operate on the file referred to by the descriptor.
2020-
(For POSIX systems, Python will call the variant of the function prefixed
2021-
with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).)
2020+
For POSIX systems, Python will call the variant of the function prefixed
2021+
with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).
20222022

20232023
You can check whether or not *path* can be specified as a file descriptor
20242024
for a particular function on your platform using :data:`os.supports_fd`.
@@ -2033,7 +2033,7 @@ features:
20332033
* **paths relative to directory descriptors:** If *dir_fd* is not ``None``, it
20342034
should be a file descriptor referring to a directory, and the path to operate
20352035
on should be relative; path will then be relative to that directory. If the
2036-
path is absolute, *dir_fd* is ignored. (For POSIX systems, Python will call
2036+
path is absolute, *dir_fd* is ignored. For POSIX systems, Python will call
20372037
the variant of the function with an ``at`` suffix and possibly prefixed with
20382038
``f`` (e.g. call ``faccessat`` instead of ``access``).
20392039

@@ -2046,8 +2046,8 @@ features:
20462046
* **not following symlinks:** If *follow_symlinks* is
20472047
``False``, and the last element of the path to operate on is a symbolic link,
20482048
the function will operate on the symbolic link itself rather than the file
2049-
pointed to by the link. (For POSIX systems, Python will call the ``l...``
2050-
variant of the function.)
2049+
pointed to by the link. For POSIX systems, Python will call the ``l...``
2050+
variant of the function.
20512051

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

0 commit comments

Comments
 (0)