From: Georg Brandl Date: Mon, 9 Mar 2009 14:25:07 +0000 (+0000) Subject: #5458: add a note when we started to raise RuntimeErrors. X-Git-Tag: v2.7a1~1881 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2cd82a8383bf328fba4a270b4b5e6a10d9a9b911;p=thirdparty%2FPython%2Fcpython.git #5458: add a note when we started to raise RuntimeErrors. --- diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index e6616dbcd279..69593ae7b1fd 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()