summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-11-08 07:45:59 (GMT)
committerGeorg Brandl <georg@python.org>2006-11-08 07:45:59 (GMT)
commit393ac22b730200cc13599de4001b40b9871eae1b (patch)
tree991da8265c842bbcc750b750c7cd72c979b21bbd /Doc/api
parent5361e9a54e76a36a8cae5f01b71edbd4f7543a06 (diff)
downloadcpython-393ac22b730200cc13599de4001b40b9871eae1b.zip
cpython-393ac22b730200cc13599de4001b40b9871eae1b.tar.gz
cpython-393ac22b730200cc13599de4001b40b9871eae1b.tar.bz2
Patch #1592072: fix docs for return value of PyErr_CheckSignals.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/exceptions.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex
index 057c1da..2dabeee 100644
--- a/Doc/api/exceptions.tex
+++ b/Doc/api/exceptions.tex
@@ -328,7 +328,7 @@ for each thread.
default effect for \constant{SIGINT}\ttindex{SIGINT} is to raise the
\withsubitem{(built-in exception)}{\ttindex{KeyboardInterrupt}}
\exception{KeyboardInterrupt} exception. If an exception is raised
- the error indicator is set and the function returns \code{1};
+ the error indicator is set and the function returns \code{-1};
otherwise the function returns \code{0}. The error indicator may or
may not be cleared if it was previously set.
\end{cfuncdesc}