Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b8ecf commit 4178515Copy full SHA for 4178515
2 files changed
Modules/signalmodule.c
@@ -522,7 +522,7 @@ initsignal(void)
522
Py_INCREF(IntHandler);
523
Py_DECREF(Handlers[SIGINT].func);
524
Handlers[SIGINT].func = IntHandler;
525
- old_siginthandler = PyOS_setsig(SIGINT, &signal_handler);
+ old_siginthandler = PyOS_setsig(SIGINT, signal_handler);
526
}
527
528
#ifdef SIGHUP
Objects/object.c
@@ -1953,7 +1953,7 @@ PyTypeObject *_Py_cobject_hack = &PyCObject_Type;
1953
1954
1955
/* Hack to force loading of abstract.o */
1956
-int (*_Py_abstract_hack)(PyObject *) = &PyObject_Size;
+int (*_Py_abstract_hack)(PyObject *) = PyObject_Size;
1957
1958
1959
/* Python's malloc wrappers (see pymem.h) */
0 commit comments