summaryrefslogtreecommitdiff
path: root/Doc/library/_thread.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium>2015-08-31 03:15:52 +0000
committerMartin Panter <vadmium>2015-08-31 03:15:52 +0000
commita689d9b5ee335e83d79dbf2e2df0e70f9289bca0 (patch)
treee0846ba190761ff59cd5a3d5ba17b481817855f8 /Doc/library/_thread.rst
parentb6e445ca0161a09934bd195d36e436ea22abefdd (diff)
downloadcpython-a689d9b5ee335e83d79dbf2e2df0e70f9289bca0.tar.gz
Issue #24952: Clarify default argument of stack_size() in threading, _thread
Patch from Mattip.
Diffstat (limited to 'Doc/library/_thread.rst')
-rw-r--r--Doc/library/_thread.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/_thread.rst b/Doc/library/_thread.rst
index a787e2fd4b..7122861c45 100644
--- a/Doc/library/_thread.rst
+++ b/Doc/library/_thread.rst
@@ -93,7 +93,8 @@ It defines the following constants and 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