]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Typo: "ThreadError" is the name in the C source.
authorArmin Rigo <arigo@tunes.org>
Fri, 10 Oct 2008 08:40:44 +0000 (08:40 +0000)
committerArmin Rigo <arigo@tunes.org>
Fri, 10 Oct 2008 08:40:44 +0000 (08:40 +0000)
Doc/library/thread.rst

index f21c35bb052e7ae29ff254b10e4d7546da7a4d37..3bcc7551f39c5a4e203f4d817086837204ce9131 100644 (file)
@@ -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