From: Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 22 Oct 2019 20:44:45 +0000 (-0700) Subject: bpo-38466: Fix threading.excepthook doc (GH-16891) X-Git-Tag: v3.8.1rc1~141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6329a56ca7f99075caa95a075024736a90ad2857;p=thirdparty%2FPython%2Fcpython.git bpo-38466: Fix threading.excepthook doc (GH-16891) (cherry picked from commit 91528f40c30717563a478920861c81d18da5bf63) Co-authored-by: Daniel Baskal --- diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index eb9da2b91197..f7c82729e51d 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::