faulthandler: _sigsegv() and _sigabrt() don't accept parameters

This commit is contained in:
Victor Stinner 2014-09-30 13:49:09 +02:00
parent d6b176905d
commit 9db521c4a8
1 changed files with 2 additions and 2 deletions

View File

@ -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")},