mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Add type cast.
This commit is contained in:
parent
995895f023
commit
78662cf9a1
1 changed files with 2 additions and 1 deletions
|
@ -279,7 +279,8 @@ static PyMethodDef signal_methods[] = {
|
|||
{"signal", signal_signal, METH_OLDARGS, signal_doc},
|
||||
{"getsignal", signal_getsignal, METH_OLDARGS, getsignal_doc},
|
||||
#ifdef HAVE_PAUSE
|
||||
{"pause", signal_pause, METH_NOARGS, pause_doc},
|
||||
{"pause", (PyCFunction)signal_pause,
|
||||
METH_NOARGS,pause_doc},
|
||||
#endif
|
||||
{"default_int_handler", signal_default_int_handler,
|
||||
METH_OLDARGS, default_int_handler_doc},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue