Clarify the type of the signal handler.

This commit is contained in:
Guido van Rossum 1998-06-09 15:42:25 +00:00
parent 4a0144c0de
commit 52481484e6
1 changed files with 2 additions and 1 deletions

View File

@ -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