[Python-checkins] point to the module-level get_ident function rather than the one in _thread (#3782)
Benjamin Peterson
webhook-mailer at python.org
Wed Sep 27 02:13:18 EDT 2017
https://github.com/python/cpython/commit/236329ed9fee01edb85d698d30682e304439d198
commit: 236329ed9fee01edb85d698d30682e304439d198
branch: master
author: Benjamin Peterson <benjamin at python.org>
committer: GitHub <noreply at github.com>
date: 2017-09-26T23:13:15-07:00
summary:
point to the module-level get_ident function rather than the one in _thread (#3782)
files:
M Doc/library/threading.rst
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()
More information about the Python-checkins
mailing list