summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2003-07-08 17:07:20 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2003-07-08 17:07:20 (GMT)
commit0b1782f7c016e6aea53d05e6c61ce8c66852175d (patch)
tree85f3727f0525f3ab9e34a300344329b3bbb48401 /Doc/lib
parentdd3afa75b32aa9b2bf56018e66011d0092064a87 (diff)
downloadcpython-0b1782f7c016e6aea53d05e6c61ce8c66852175d.zip
cpython-0b1782f7c016e6aea53d05e6c61ce8c66852175d.tar.gz
cpython-0b1782f7c016e6aea53d05e6c61ce8c66852175d.tar.bz2
Document interrupt_main()
Remove obsolete reference to deprecated exit_thread() function
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libthread.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libthread.tex b/Doc/lib/libthread.tex
index 87aa3ea..d2a34a1 100644
--- a/Doc/lib/libthread.tex
+++ b/Doc/lib/libthread.tex
@@ -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.