point to the module-level get_ident function rather than the one in _thread (#3782)

This commit is contained in:
Benjamin Peterson 2017-09-26 23:13:15 -07:00 committed by GitHub
parent 14086cfc5e
commit 236329ed9f
1 changed files with 4 additions and 4 deletions

View File

@ -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()