]> granicus.if.org Git - python/commitdiff
bpo-38466: Fix threading.excepthook doc (GH-16891)
authorDaniel Baskal <MagnificentUrukHai@users.noreply.github.com>
Tue, 22 Oct 2019 20:37:47 +0000 (23:37 +0300)
committerVictor Stinner <vstinner@python.org>
Tue, 22 Oct 2019 20:37:47 +0000 (22:37 +0200)
Doc/library/threading.rst

index 0489421cdf60e5b0680c540058d49cc90e99b161..905862e7747fbab22d0630432ad915b0526849d6 100644 (file)
@@ -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::