Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
52481484
Commit
52481484
authored
Jun 09, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify the type of the signal handler.
parent
4a0144c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Doc/lib/libsignal.tex
Doc/lib/libsignal.tex
+2
-1
No files found.
Doc/lib/libsignal.tex
View file @
52481484
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment