summaryrefslogtreecommitdiffstats
path: root/Modules/faulthandler.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-09-30 11:49:09 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-09-30 11:49:09 (GMT)
commit9db521c4a8216e9fb0af1c2dfff08f077f5eaf9c (patch)
tree5652f4159eae9bdbf27716ec52d19bbeac1ec459 /Modules/faulthandler.c
parentd6b176905d073ae6c109fa32bb16ec55a6e68c17 (diff)
downloadcpython-9db521c4a8216e9fb0af1c2dfff08f077f5eaf9c.zip
cpython-9db521c4a8216e9fb0af1c2dfff08f077f5eaf9c.tar.gz
cpython-9db521c4a8216e9fb0af1c2dfff08f077f5eaf9c.tar.bz2
faulthandler: _sigsegv() and _sigabrt() don't accept parameters
Diffstat (limited to 'Modules/faulthandler.c')
-rw-r--r--Modules/faulthandler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
index 6a145dc..cf08aa5 100644
--- a/Modules/faulthandler.c
+++ b/Modules/faulthandler.c
@@ -1006,9 +1006,9 @@ static PyMethodDef module_methods[] = {
{"_read_null", faulthandler_read_null, METH_VARARGS,
PyDoc_STR("_read_null(release_gil=False): read from NULL, raise "
"a SIGSEGV or SIGBUS signal depending on the platform")},
- {"_sigsegv", faulthandler_sigsegv, METH_VARARGS,
+ {"_sigsegv", faulthandler_sigsegv, METH_NOARGS,
PyDoc_STR("_sigsegv(): raise a SIGSEGV signal")},
- {"_sigabrt", faulthandler_sigabrt, METH_VARARGS,
+ {"_sigabrt", faulthandler_sigabrt, METH_NOARGS,
PyDoc_STR("_sigabrt(): raise a SIGABRT signal")},
{"_sigfpe", (PyCFunction)faulthandler_sigfpe, METH_NOARGS,
PyDoc_STR("_sigfpe(): raise a SIGFPE signal")},