summaryrefslogtreecommitdiffstats
path: root/Doc/library/thread.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-12-29 10:57:00 (GMT)
committerGeorg Brandl <georg@python.org>2007-12-29 10:57:00 (GMT)
commitb19be571e09263239ef29c92eee06dbb30186685 (patch)
tree9c8a5439b14ce34cfaa0e4e164483b0f8690aa42 /Doc/library/thread.rst
parent28c7bcf38e1e69a9091cbba90b982331428ddbe6 (diff)
downloadcpython-b19be571e09263239ef29c92eee06dbb30186685.zip
cpython-b19be571e09263239ef29c92eee06dbb30186685.tar.gz
cpython-b19be571e09263239ef29c92eee06dbb30186685.tar.bz2
Some cleanup in the docs.
Diffstat (limited to 'Doc/library/thread.rst')
-rw-r--r--Doc/library/thread.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/library/thread.rst b/Doc/library/thread.rst
index ca70403..afe8cbe 100644
--- a/Doc/library/thread.rst
+++ b/Doc/library/thread.rst
@@ -65,12 +65,13 @@ It defines the following constant and functions:
Raise the :exc:`SystemExit` exception. When not caught, this will cause the
thread to exit silently.
-.. % \begin{funcdesc}{exit_prog}{status}
-.. % Exit all threads and report the value of the integer argument
-.. % \var{status} as the exit status of the entire program.
-.. % \strong{Caveat:} code in pending \keyword{finally} clauses, in this thread
-.. % or in other threads, is not executed.
-.. % \end{funcdesc}
+..
+ function:: exit_prog(status)
+
+ Exit all threads and report the value of the integer argument
+ *status* as the exit status of the entire program.
+ **Caveat:** code in pending :keyword:`finally` clauses, in this thread
+ or in other threads, is not executed.
.. function:: allocate_lock()