[Python-checkins] r68170 - python/branches/py3k/Doc/library/threading.rst
georg.brandl
python-checkins at python.org
Fri Jan 2 21:10:06 CET 2009
Author: georg.brandl
Date: Fri Jan 2 21:10:05 2009
New Revision: 68170
Log:
#4808: move old API below new API doc.
Modified:
python/branches/py3k/Doc/library/threading.rst
Modified: python/branches/py3k/Doc/library/threading.rst
==============================================================================
--- python/branches/py3k/Doc/library/threading.rst (original)
+++ python/branches/py3k/Doc/library/threading.rst Fri Jan 2 21:10:05 2009
@@ -278,12 +278,6 @@
raises the same exception.
-.. method:: Thread.getName()
- Thread.setName()
-
- Old API for :attr:`~Thread.name`.
-
-
.. attribute:: Thread.name
A string used for identification purposes only. It has no semantics.
@@ -291,6 +285,13 @@
constructor.
+.. method:: Thread.getName()
+ Thread.setName()
+
+ Old getter/setter API for :attr:`~Thread.name`; use it directly as a property
+ instead.
+
+
.. attribute:: Thread.ident
The 'thread identifier' of this thread or ``None`` if the thread has not been
@@ -309,12 +310,6 @@
returns a list of all alive threads.
-.. method:: Thread.isDaemon()
- Thread.setDaemon()
-
- Old API for :attr:`~Thread.daemon`.
-
-
.. attribute:: Thread.daemon
The thread's daemon flag. This must be set before :meth:`start` is called,
@@ -325,6 +320,13 @@
The entire Python program exits when no alive non-daemon threads are left.
+.. method:: Thread.isDaemon()
+ Thread.setDaemon()
+
+ Old getter/setter API for :attr:`~Thread.daemon`; use it directly as a
+ property instead.
+
+
.. _lock-objects:
Lock Objects
More information about the Python-checkins
mailing list