summaryrefslogtreecommitdiff
path: root/Doc/library/threading.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-04-05 09:53:04 +0200
committerGeorg Brandl <georg@python.org>2012-04-05 09:53:04 +0200
commit9a13b432e73fc19e6c7cf859342af3beb6dcebfc (patch)
treeb98078c71d86a4ce67db646dd6ac4d0844157a5f /Doc/library/threading.rst
parent0069bab115a32e6bd4e95a7a85b9b7f0a385616e (diff)
downloadcpython-git-9a13b432e73fc19e6c7cf859342af3beb6dcebfc.tar.gz
Replace ThreadError by RuntimeError: the former is now an obsolete alias of the latter.
Diffstat (limited to 'Doc/library/threading.rst')
-rw-r--r--Doc/library/threading.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 2b43ee5e70..7527bc5e86 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -174,7 +174,7 @@ This module defines the following functions and objects:
*size* argument specifies the stack size to be used for subsequently created
threads, and must be 0 (use platform or configured default) or a positive
integer value of at least 32,768 (32kB). If changing the thread stack size is
- unsupported, a :exc:`ThreadError` is raised. If the specified stack size is
+ unsupported, a :exc:`RuntimeError` is raised. If the specified stack size is
invalid, a :exc:`ValueError` is raised and the stack size is unmodified. 32kB
is currently the minimum supported stack size value to guarantee sufficient
stack space for the interpreter itself. Note that some platforms may have