Patch #1592072: fix docs for return value of PyErr_CheckSignals.
authorGeorg Brandl <georg@python.org>
Wed, 8 Nov 2006 07:46:01 +0000 (07:46 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 8 Nov 2006 07:46:01 +0000 (07:46 +0000)
 (backport from rev. 52666)

Doc/api/exceptions.tex

index 057c1da9254e87f1f08d03e3dd78813b90933951..2dabeee623e7d823e9f21f4de6149d53d7cfdd47 100644 (file)
@@ -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}