]> granicus.if.org Git - python/commitdiff
[3.6] point to the module-level get_ident function rather than the one in _thread...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Sep 2017 06:17:51 +0000 (23:17 -0700)
committerBenjamin Peterson <benjamin@python.org>
Wed, 27 Sep 2017 06:17:51 +0000 (23:17 -0700)
(cherry picked from commit 236329ed9fee01edb85d698d30682e304439d198)

Doc/library/threading.rst

index 021e29e7124840c81e9f6956cf26261eca50e15a..c375754629e1f44af390dee57de023f1af558822 100644 (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()