From 236329ed9fee01edb85d698d30682e304439d198 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 26 Sep 2017 23:13:15 -0700 Subject: [PATCH] point to the module-level get_ident function rather than the one in _thread (#3782) --- Doc/library/threading.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 8c3a2cd4f65..95e27cab7c8 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -291,10 +291,10 @@ since it is impossible to detect the termination of alien threads. .. attribute:: ident The 'thread identifier' of this thread or ``None`` if the thread has not - been started. This is a nonzero integer. See the - :func:`_thread.get_ident()` function. Thread identifiers may be recycled - when a thread exits and another thread is created. The identifier is - available even after the thread has exited. + been started. This is a nonzero integer. See the :func:`get_ident` + function. Thread identifiers may be recycled when a thread exits and + another thread is created. The identifier is available even after the + thread has exited. .. method:: is_alive()