Kaydet (Commit) 236329ed authored tarafından Benjamin Peterson's avatar Benjamin Peterson Kaydeden (comit) GitHub

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

üst 14086cfc
...@@ -291,10 +291,10 @@ since it is impossible to detect the termination of alien threads. ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment