summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-09 15:42:25 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-09 15:42:25 (GMT)
commit52481484e6183a208184994cb070754a03037e84 (patch)
treea135e5d83d52de1a69709c26a4324b01d9dc1d77
parent4a0144c0de212e2bf63fe111939b4085cdd154df (diff)
downloadcpython-52481484e6183a208184994cb070754a03037e84.zip
cpython-52481484e6183a208184994cb070754a03037e84.tar.gz
cpython-52481484e6183a208184994cb070754a03037e84.tar.bz2
Clarify the type of the signal handler.
-rw-r--r--Doc/lib/libsignal.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libsignal.tex b/Doc/lib/libsignal.tex
index 49eb62e..4a8b3b4 100644
--- a/Doc/lib/libsignal.tex
+++ b/Doc/lib/libsignal.tex
@@ -125,7 +125,8 @@ The \module{signal} module defines the following functions:
\begin{funcdesc}{signal}{signalnum, handler}
Set the handler for signal \var{signalnum} to the function
- \var{handler}. \var{handler} can be any callable Python object, or
+ \var{handler}. \var{handler} can be a callable Python object
+ taking two arguments (see below), or
one of the special values \constant{signal.SIG_IGN} or
\constant{signal.SIG_DFL}. The previous signal handler will be returned
(see the description of \function{getsignal()} above). (See the