diff options
Diffstat (limited to 'Doc/library/thread.rst')
-rw-r--r-- | Doc/library/thread.rst | 13 |
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() |