]> granicus.if.org Git - python/commitdiff
Replace ThreadError by RuntimeError: the former is now an obsolete alias of the latter.
authorGeorg Brandl <georg@python.org>
Thu, 5 Apr 2012 07:53:04 +0000 (09:53 +0200)
committerGeorg Brandl <georg@python.org>
Thu, 5 Apr 2012 07:53:04 +0000 (09:53 +0200)
Doc/library/_thread.rst
Doc/library/threading.rst

index e7e7504c4201a9549d7d6cce20b99f3b9c942bfa..751c3e8849cbdbf097aacad9b9b40e54ee2f9a88 100644 (file)
@@ -94,7 +94,7 @@ It defines the following constants 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, 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
index 2b43ee5e70d048e8e2241e1a2657ecd9fa2af62c..7527bc5e862a4093c312e3a0a21666c08b9a705d 100644 (file)
@@ -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