[Python-checkins] bpo-38466: Fix threading.excepthook doc (GH-16891)

Victor Stinner webhook-mailer at python.org
Tue Oct 22 16:37:53 EDT 2019


https://github.com/python/cpython/commit/91528f40c30717563a478920861c81d18da5bf63
commit: 91528f40c30717563a478920861c81d18da5bf63
branch: master
author: Daniel Baskal <MagnificentUrukHai at users.noreply.github.com>
committer: Victor Stinner <vstinner at python.org>
date: 2019-10-22T22:37:47+02:00
summary:

bpo-38466: Fix threading.excepthook doc (GH-16891)

files:
M Doc/library/threading.rst

diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 0489421cdf60e..905862e7747fb 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -62,8 +62,8 @@ This module defines the following functions:
    should be cleared explicitly to break the reference cycle when the
    exception is no longer needed.
 
-   Storing *object* using a custom hook can resurrect it if it is set to an
-   object which is being finalized. Avoid storing *object* after the custom
+   Storing *thread* using a custom hook can resurrect it if it is set to an
+   object which is being finalized. Avoid storing *thread* after the custom
    hook completes to avoid resurrecting objects.
 
    .. seealso::



More information about the Python-checkins mailing list