diff options
author | Armin Rigo <arigo@tunes.org> | 2008-10-10 08:40:44 (GMT) |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2008-10-10 08:40:44 (GMT) |
commit | 1178e02c94450d2bb318865fe733221b4579cf90 (patch) | |
tree | 7bd94ab1a3a93f3c70f5ee7d95cd00549ebd07ca /Doc/library/thread.rst | |
parent | 922d1fd641c5a6bfc28b48acfd33b77a87f4e451 (diff) | |
download | cpython-1178e02c94450d2bb318865fe733221b4579cf90.zip cpython-1178e02c94450d2bb318865fe733221b4579cf90.tar.gz cpython-1178e02c94450d2bb318865fe733221b4579cf90.tar.bz2 |
Typo: "ThreadError" is the name in the C source.
Diffstat (limited to 'Doc/library/thread.rst')
-rw-r--r-- | Doc/library/thread.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/thread.rst b/Doc/library/thread.rst index f21c35b..3bcc755 100644 --- a/Doc/library/thread.rst +++ b/Doc/library/thread.rst @@ -99,7 +99,7 @@ It defines the following constant and functions: *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, the :exc:`error` exception 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 |