[Python-checkins] r52667 - python/branches/release25-maint/Doc/api/exceptions.tex

georg.brandl python-checkins at python.org
Wed Nov 8 08:46:02 CET 2006


Author: georg.brandl
Date: Wed Nov  8 08:46:01 2006
New Revision: 52667

Modified:
   python/branches/release25-maint/Doc/api/exceptions.tex
Log:
Patch #1592072: fix docs for return value of PyErr_CheckSignals.
 (backport from rev. 52666)

Modified: python/branches/release25-maint/Doc/api/exceptions.tex
==============================================================================
--- python/branches/release25-maint/Doc/api/exceptions.tex	(original)
+++ python/branches/release25-maint/Doc/api/exceptions.tex	Wed Nov  8 08:46:01 2006
@@ -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}


More information about the Python-checkins mailing list