mirror of
https://github.com/python/cpython.git
synced 2025-07-30 22:54:16 +00:00
Document interrupt_main()
Remove obsolete reference to deprecated exit_thread() function
This commit is contained in:
parent
dd3afa75b3
commit
0b1782f7c0
1 changed files with 5 additions and 5 deletions
|
@ -43,16 +43,16 @@ terminates with an unhandled exception, a stack trace is printed and
|
|||
then the thread exits (but other threads continue to run).
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{interrupt_main}{}
|
||||
Raise a KeyboardInterrupt in the main thread. A subthread can use this
|
||||
function to to interrupt the main thread.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{exit}{}
|
||||
Raise the \exception{SystemExit} exception. When not caught, this
|
||||
will cause the thread to exit silently.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{exit_thread}{}
|
||||
\deprecated{1.5.2}{Use \function{exit()}.}
|
||||
This is an obsolete synonym for \function{exit()}.
|
||||
\end{funcdesc}
|
||||
|
||||
%\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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue