Skip to content

Commit df8ae28

Browse files
[3.13] Doc/library/os.rst: Remove spurious parenthesis (GH-139205) (GH-139218)
`Doc/library/os.rst`: Remove spurious parenthesis (GH-139205) (cherry picked from commit 9c3d09b) Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 4df066d commit df8ae28

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

19431943
You can check whether or not *path* can be specified as a file descriptor
19441944
for a particular function on your platform using :data:`os.supports_fd`.
@@ -1953,7 +1953,7 @@ features:
19531953
* **paths relative to directory descriptors:** If *dir_fd* is not ``None``, it
19541954
should be a file descriptor referring to a directory, and the path to operate
19551955
on should be relative; path will then be relative to that directory. If the
1956-
path is absolute, *dir_fd* is ignored. (For POSIX systems, Python will call
1956+
path is absolute, *dir_fd* is ignored. For POSIX systems, Python will call
19571957
the variant of the function with an ``at`` suffix and possibly prefixed with
19581958
``f`` (e.g. call ``faccessat`` instead of ``access``).
19591959

@@ -1966,8 +1966,8 @@ features:
19661966
* **not following symlinks:** If *follow_symlinks* is
19671967
``False``, and the last element of the path to operate on is a symbolic link,
19681968
the function will operate on the symbolic link itself rather than the file
1969-
pointed to by the link. (For POSIX systems, Python will call the ``l...``
1970-
variant of the function.)
1969+
pointed to by the link. For POSIX systems, Python will call the ``l...``
1970+
variant of the function.
19711971

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

0 commit comments

Comments
 (0)