From 52481484e6183a208184994cb070754a03037e84 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 9 Jun 1998 15:42:25 +0000 Subject: Clarify the type of the signal handler. --- Doc/lib/libsignal.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v0.12