summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-09-27 06:13:15 (GMT)
committerGitHub <noreply@github.com>2017-09-27 06:13:15 (GMT)
commit236329ed9fee01edb85d698d30682e304439d198 (patch)
tree0202b52cf74474162167e4fad2f801191bda0d45 /Doc
parent14086cfc5eed8c5e78342d79e5db87a135d75fa8 (diff)
downloadcpython-236329ed9fee01edb85d698d30682e304439d198.zip
cpython-236329ed9fee01edb85d698d30682e304439d198.tar.gz
cpython-236329ed9fee01edb85d698d30682e304439d198.tar.bz2
point to the module-level get_ident function rather than the one in _thread (#3782)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/threading.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 8c3a2cd..95e27ca 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()