[Python-checkins] [3.6] point to the module-level get_ident function rather than the one in _thread (GH-3782) (#3783)
Benjamin Peterson
webhook-mailer at python.org
Wed Sep 27 02:17:54 EDT 2017
https://github.com/python/cpython/commit/680429b133660d170269565413f4c9e36e68def6
commit: 680429b133660d170269565413f4c9e36e68def6
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2017-09-26T23:17:51-07:00
summary:
[3.6] point to the module-level get_ident function rather than the one in _thread (GH-3782) (#3783)
(cherry picked from commit 236329ed9fee01edb85d698d30682e304439d198)
files:
M Doc/library/threading.rst
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 021e29e7124..c375754629e 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