[3.6] point to the module-level get_ident function rather than the one in _thread (GH-3782) (#3783)

(cherry picked from commit 236329ed9f)
This commit is contained in:
Miss Islington (bot) 2017-09-26 23:17:51 -07:00 committed by Benjamin Peterson
parent 7c24e99c99
commit 680429b133

View file

@ -291,10 +291,10 @@ since it is impossible to detect the termination of alien threads.
.. attribute:: ident .. attribute:: ident
The 'thread identifier' of this thread or ``None`` if the thread has not The 'thread identifier' of this thread or ``None`` if the thread has not
been started. This is a nonzero integer. See the been started. This is a nonzero integer. See the :func:`get_ident`
:func:`_thread.get_ident()` function. Thread identifiers may be recycled function. Thread identifiers may be recycled when a thread exits and
when a thread exits and another thread is created. The identifier is another thread is created. The identifier is available even after the
available even after the thread has exited. thread has exited.
.. method:: is_alive() .. method:: is_alive()