summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-09 14:25:07 (GMT)
committerGeorg Brandl <georg@python.org>2009-03-09 14:25:07 (GMT)
commit2cd82a8383bf328fba4a270b4b5e6a10d9a9b911 (patch)
tree7eec48b3c6f203778a53b056e492437692206740
parent9324ed89821fa11f4058d4fe5c7b060a999e73ac (diff)
downloadcpython-2cd82a8383bf328fba4a270b4b5e6a10d9a9b911.zip
cpython-2cd82a8383bf328fba4a270b4b5e6a10d9a9b911.tar.gz
cpython-2cd82a8383bf328fba4a270b4b5e6a10d9a9b911.tar.bz2
#5458: add a note when we started to raise RuntimeErrors.
-rw-r--r--Doc/library/threading.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index e6616db..69593ae 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -21,9 +21,14 @@ The :mod:`dummy_threading` module is provided for situations where
deprecation of the ``camelCase`` names and they remain fully supported in
both Python 2.x and 3.x.
-This module defines the following functions and objects:
+.. note::
+
+ Starting with Python 2.5, several Thread methods raise :exc:`RuntimeError`
+ instead of :exc:`AssertionError` if called erroneously.
+This module defines the following functions and objects:
+
.. function:: active_count()
activeCount()