summaryrefslogtreecommitdiffstats
path: root/Doc/library/threading.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-18 16:45:31 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-08-18 16:45:31 (GMT)
commit773c17b3e107a23c131974f71d3e2f145ee5203d (patch)
treeb299a18fa2b9043d76a05edc785a8d9a30e8a53c /Doc/library/threading.rst
parent46f5f9ee0fe359100fdd7c84bd4a3b4a61a4c98f (diff)
downloadcpython-773c17b3e107a23c131974f71d3e2f145ee5203d.zip
cpython-773c17b3e107a23c131974f71d3e2f145ee5203d.tar.gz
cpython-773c17b3e107a23c131974f71d3e2f145ee5203d.tar.bz2
Merged revisions 65818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r65818 | benjamin.peterson | 2008-08-18 11:40:03 -0500 (Mon, 18 Aug 2008) | 4 lines change threading.getIdent to a property This is new in 2.6 so now need to worry about backwards compatibility :) ........
Diffstat (limited to 'Doc/library/threading.rst')
-rw-r--r--Doc/library/threading.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 3c5fefd..9e41412 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -643,12 +643,12 @@ impossible to detect the termination of alien threads.
constructor.
-.. method:: Thread.get_ident()
+.. attribute:: Thread.ident
- Return 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()`
+ 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 returned even after the thread has
+ thread is created. The identifier is available even after the thread has
exited.