#5458: add a note when we started to raise RuntimeErrors.

This commit is contained in:
Georg Brandl 2009-03-09 14:25:07 +00:00
parent 9324ed8982
commit 2cd82a8383
1 changed files with 6 additions and 1 deletions

View File

@ -21,8 +21,13 @@ 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()