diff options
author | Georg Brandl <georg@python.org> | 2006-11-08 07:46:01 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-11-08 07:46:01 +0000 |
commit | 082f14b61c567f9f54fbfad69d5fb35857ead72c (patch) | |
tree | cdf4833d034315d9c007ad2b3a470f0cd31d1290 | |
parent | a1e3422205333a15c8f90c09c0883cf5e5139145 (diff) | |
download | cpython-git-082f14b61c567f9f54fbfad69d5fb35857ead72c.tar.gz |
Patch #1592072: fix docs for return value of PyErr_CheckSignals.
(backport from rev. 52666)
-rw-r--r-- | Doc/api/exceptions.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex index 057c1da925..2dabeee623 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} |