summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-04-04 14:20:28 (GMT)
committerBrett Cannon <brett@python.org>2014-04-04 14:20:28 (GMT)
commit815a6f38a67ec82bdf427643792dbc21b16bb87c (patch)
tree1e85fb893e33caa56e21584415d099b00bf5d528 /Modules
parente7ef80583320cdb9a76bc47ba5c24ecc1801a282 (diff)
parentfaf1965a067b4b8a99e8090c47cb79f4e2618574 (diff)
downloadcpython-815a6f38a67ec82bdf427643792dbc21b16bb87c.zip
cpython-815a6f38a67ec82bdf427643792dbc21b16bb87c.tar.gz
cpython-815a6f38a67ec82bdf427643792dbc21b16bb87c.tar.bz2
merge along w/ fix for issue #2107 (commit c9239171e429)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/signalmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index fedaddf..cf4ba61 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -956,7 +956,7 @@ the first is the signal number, the second is the interrupted stack frame.");
static struct PyModuleDef signalmodule = {
PyModuleDef_HEAD_INIT,
- "signal",
+ "_signal",
module_doc,
-1,
signal_methods,
@@ -967,7 +967,7 @@ static struct PyModuleDef signalmodule = {
};
PyMODINIT_FUNC
-PyInit_signal(void)
+PyInit__signal(void)
{
PyObject *m, *d, *x;
int i;
@@ -1380,7 +1380,7 @@ PyErr_SetInterrupt(void)
void
PyOS_InitInterrupts(void)
{
- PyObject *m = PyImport_ImportModule("signal");
+ PyObject *m = PyImport_ImportModule("_signal");
if (m) {
Py_DECREF(m);
}