Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor grammar fixes to exceptions.rst
  • Loading branch information
gpshead authored and vstinner committed Feb 14, 2024
commit 30bd9c94f1aa48cc37de971ad76f82be9418c6dd
6 changes: 3 additions & 3 deletions Doc/library/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -419,13 +419,13 @@ The following exceptions are the exceptions that are usually raised.
.. exception:: PythonFinalizationError

This exception is derived from :exc:`RuntimeError`. It is raised when
an operations is blocked during the :term:`Python finalization <interpreter
shutdown>`.
an operation is blocked during interpreter shutdown also known as
:term:`Python finalization <interpreter shutdown>`.

Examples of operations which can be blocked with a
:exc:`PythonFinalizationError` during the Python finalization:

* create a new Python thread;
* Creating a new Python thread.
* :func:`os.fork`.

See also the :func:`sys.is_finalizing` function.
Expand Down