From 2cd82a8383bf328fba4a270b4b5e6a10d9a9b911 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 9 Mar 2009 14:25:07 +0000 Subject: #5458: add a note when we started to raise RuntimeErrors. --- Doc/library/threading.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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() -- cgit v0.12