From: Guido van Rossum Date: Tue, 9 Jun 1998 15:42:25 +0000 (+0000) Subject: Clarify the type of the signal handler. X-Git-Tag: v1.5.2a1~504 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52481484e6183a208184994cb070754a03037e84;p=python Clarify the type of the signal handler. --- diff --git a/Doc/lib/libsignal.tex b/Doc/lib/libsignal.tex index 49eb62e919..4a8b3b4bcb 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