summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-03-25 14:25:28 (GMT)
committerFred Drake <fdrake@acm.org>2004-03-25 14:25:28 (GMT)
commit85309512ec4f461a3025fab3bd11408950752f5d (patch)
treeec95db44838740801b5290341bbb9a3f26034f3e /Doc
parentbc503d1e90fac2baf8f3f115692c9ac940e9d5bb (diff)
downloadcpython-85309512ec4f461a3025fab3bd11408950752f5d.zip
cpython-85309512ec4f461a3025fab3bd11408950752f5d.tar.gz
cpython-85309512ec4f461a3025fab3bd11408950752f5d.tar.bz2
Remove note that PyErr_SetInterrupt() is obsolete; add comment about the
fact that it was marked obsolete but is still needed. Closes SF bug #919299. Someone else should backport this to Python 2.3.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/exceptions.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex
index f98b644..3a51a05 100644
--- a/Doc/api/exceptions.tex
+++ b/Doc/api/exceptions.tex
@@ -299,12 +299,14 @@ for each thread.
\end{cfuncdesc}
\begin{cfuncdesc}{void}{PyErr_SetInterrupt}{}
- This function is obsolete. It simulates the effect of a
+ It simulates the effect of a
\constant{SIGINT}\ttindex{SIGINT} signal arriving --- the next time
\cfunction{PyErr_CheckSignals()} is called,
\withsubitem{(built-in exception)}{\ttindex{KeyboardInterrupt}}
\exception{KeyboardInterrupt} will be raised. It may be called
without holding the interpreter lock.
+ % XXX This was described as obsolete, but is used in
+ % thread.interrupt_main() (used from IDLE), so it's still needed.
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyErr_NewException}{char *name,