From b980333da6d065bbfd2b9b4ddc0338bcbb74527c Mon Sep 17 00:00:00 2001 From: dlbas Date: Tue, 22 Oct 2019 21:15:30 +0300 Subject: [PATCH] bpo-38466: fix threading.excepthook doc that talks about "object" instead of "thread" --- Doc/library/threading.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 0489421cdf60e5b..905862e7747fbab 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::