mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.13] Doc/library/os.rst: Remove spurious parenthesis (GH-139205) (GH-139218)
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
`Doc/library/os.rst`: Remove spurious parenthesis (GH-139205)
(cherry picked from commit 9c3d09b984)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
This commit is contained in:
parent
4df066d0fe
commit
df8ae28286
1 changed files with 5 additions and 5 deletions
|
|
@ -1937,8 +1937,8 @@ features:
|
|||
must be a string specifying a file path. However, some functions now
|
||||
alternatively accept an open file descriptor for their *path* argument.
|
||||
The function will then operate on the file referred to by the descriptor.
|
||||
(For POSIX systems, Python will call the variant of the function prefixed
|
||||
with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).)
|
||||
For POSIX systems, Python will call the variant of the function prefixed
|
||||
with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).
|
||||
|
||||
You can check whether or not *path* can be specified as a file descriptor
|
||||
for a particular function on your platform using :data:`os.supports_fd`.
|
||||
|
|
@ -1953,7 +1953,7 @@ features:
|
|||
* **paths relative to directory descriptors:** If *dir_fd* is not ``None``, it
|
||||
should be a file descriptor referring to a directory, and the path to operate
|
||||
on should be relative; path will then be relative to that directory. If the
|
||||
path is absolute, *dir_fd* is ignored. (For POSIX systems, Python will call
|
||||
path is absolute, *dir_fd* is ignored. For POSIX systems, Python will call
|
||||
the variant of the function with an ``at`` suffix and possibly prefixed with
|
||||
``f`` (e.g. call ``faccessat`` instead of ``access``).
|
||||
|
||||
|
|
@ -1966,8 +1966,8 @@ features:
|
|||
* **not following symlinks:** If *follow_symlinks* is
|
||||
``False``, and the last element of the path to operate on is a symbolic link,
|
||||
the function will operate on the symbolic link itself rather than the file
|
||||
pointed to by the link. (For POSIX systems, Python will call the ``l...``
|
||||
variant of the function.)
|
||||
pointed to by the link. For POSIX systems, Python will call the ``l...``
|
||||
variant of the function.
|
||||
|
||||
You can check whether or not *follow_symlinks* is supported for a particular
|
||||
function on your platform using :data:`os.supports_follow_symlinks`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue