summaryrefslogtreecommitdiffstats
path: root/Doc/library/threading.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium>2015-08-31 03:15:52 (GMT)
committerMartin Panter <vadmium>2015-08-31 03:15:52 (GMT)
commit31e7f50d4cb756927a89d2d33eaf1b5a030be7a9 (patch)
tree8f157217daf8f332339d5697e57201fdcba4ad53 /Doc/library/threading.rst
parent0612ffe8c8a06f8d16d136622106f0cf5f43f90f (diff)
downloadcpython-31e7f50d4cb756927a89d2d33eaf1b5a030be7a9.zip
cpython-31e7f50d4cb756927a89d2d33eaf1b5a030be7a9.tar.gz
cpython-31e7f50d4cb756927a89d2d33eaf1b5a030be7a9.tar.bz2
Issue #24952: Clarify default argument of stack_size() in threading, _thread
Patch from Mattip.
Diffstat (limited to 'Doc/library/threading.rst')
-rw-r--r--Doc/library/threading.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 5269994..c56d707 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -89,7 +89,8 @@ This module defines the following functions:
Return the thread stack size used when creating new threads. The optional
*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 (32 KiB). If changing the thread stack size is
+ integer value of at least 32,768 (32 KiB). If *size* is not specified,
+ 0 is used. If changing the thread 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. 32 KiB
is currently the minimum supported stack size value to guarantee sufficient