Skip to content

Commit 236329e

Browse files
authored
point to the module-level get_ident function rather than the one in _thread (#3782)
1 parent 14086cf commit 236329e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/threading.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ since it is impossible to detect the termination of alien threads.
291291
.. attribute:: ident
292292

293293
The 'thread identifier' of this thread or ``None`` if the thread has not
294-
been started. This is a nonzero integer. See the
295-
:func:`_thread.get_ident()` function. Thread identifiers may be recycled
296-
when a thread exits and another thread is created. The identifier is
297-
available even after the thread has exited.
294+
been started. This is a nonzero integer. See the :func:`get_ident`
295+
function. Thread identifiers may be recycled when a thread exits and
296+
another thread is created. The identifier is available even after the
297+
thread has exited.
298298

299299
.. method:: is_alive()
300300

0 commit comments

Comments
 (0)