]> granicus.if.org Git - python/commitdiff
#5458: add a note when we started to raise RuntimeErrors.
authorGeorg Brandl <georg@python.org>
Mon, 9 Mar 2009 14:25:07 +0000 (14:25 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 9 Mar 2009 14:25:07 +0000 (14:25 +0000)
Doc/library/threading.rst

index e6616dbcd279a5b8112c02c7051f84aaa32646cc..69593ae7b1fd627ffcff3e055d0f3ebfb0bb1738 100644 (file)
@@ -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()