diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-09-27 06:17:51 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2017-09-27 06:17:51 (GMT) |
commit | 680429b133660d170269565413f4c9e36e68def6 (patch) | |
tree | 9426fb8c3920ddbdf577f83625d26e08c765f5c4 /Doc/library | |
parent | 7c24e99c99c961e6633ac45390a211f65806c687 (diff) | |
download | cpython-680429b133660d170269565413f4c9e36e68def6.zip cpython-680429b133660d170269565413f4c9e36e68def6.tar.gz cpython-680429b133660d170269565413f4c9e36e68def6.tar.bz2 |
[3.6] point to the module-level get_ident function rather than the one in _thread (GH-3782) (#3783)
(cherry picked from commit 236329ed9fee01edb85d698d30682e304439d198)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/threading.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 021e29e..c375754 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() |