]> granicus.if.org Git - python/commitdiff
Clarify the type of the signal handler.
authorGuido van Rossum <guido@python.org>
Tue, 9 Jun 1998 15:42:25 +0000 (15:42 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 9 Jun 1998 15:42:25 +0000 (15:42 +0000)
Doc/lib/libsignal.tex

index 49eb62e919a1b98907ca35a4a141603b5f7d03c4..4a8b3b4bcb63e4a51bad74a743e3ffe5afcef0d7 100644 (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