diff Doc/api/exceptions.tex @ 40305:4f8ebacec5f0 legacy-trunk

Patch #1592072: fix docs for return value of PyErr_CheckSignals.
author Georg Brandl <georg@python.org>
date Wed, 08 Nov 2006 07:45:59 +0000
parents 635b09b1f542
children
line wrap: on
line diff
--- a/Doc/api/exceptions.tex	Wed Nov 08 07:35:55 2006 +0000
+++ b/Doc/api/exceptions.tex	Wed Nov 08 07:45:59 2006 +0000
@@ -328,7 +328,7 @@
   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}