gh-123492: Remove unnecessary :func: parentheses (#123493)

This commit is contained in:
Wei-Hsiang (Matt) Wang 2024-08-30 19:34:09 +08:00 committed by GitHub
parent 8aaf7525ab
commit 103a0470e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
78 changed files with 154 additions and 154 deletions

View file

@ -34,7 +34,7 @@ propagated, additional calls into the Python/C API may not behave as intended
and may fail in mysterious ways.
.. note::
The error indicator is **not** the result of :func:`sys.exc_info()`.
The error indicator is **not** the result of :func:`sys.exc_info`.
The former corresponds to an exception that is not yet caught (and is
therefore still propagating), while the latter returns an exception after
it is caught (and has therefore stopped propagating).

View file

@ -190,7 +190,7 @@ Importing Modules
.. versionadded:: 3.2
.. versionchanged:: 3.3
Uses :func:`!imp.source_from_cache()` in calculating the source path if
Uses :func:`!imp.source_from_cache` in calculating the source path if
only the bytecode path is provided.
.. versionchanged:: 3.12
No longer uses the removed :mod:`!imp` module.