Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5248148

Browse files
committed
Clarify the type of the signal handler.
1 parent 4a0144c commit 5248148

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/lib/libsignal.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ \section{Built-in Module \module{signal}}
125125

126126
\begin{funcdesc}{signal}{signalnum, handler}
127127
Set the handler for signal \var{signalnum} to the function
128-
\var{handler}. \var{handler} can be any callable Python object, or
128+
\var{handler}. \var{handler} can be a callable Python object
129+
taking two arguments (see below), or
129130
one of the special values \constant{signal.SIG_IGN} or
130131
\constant{signal.SIG_DFL}. The previous signal handler will be returned
131132
(see the description of \function{getsignal()} above). (See the

0 commit comments

Comments
 (0)