summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/_curses_panel.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/Modules/_curses_panel.c b/Modules/_curses_panel.c
index 4b97aa7..42abc2a 100644
--- a/Modules/_curses_panel.c
+++ b/Modules/_curses_panel.c
@@ -474,11 +474,11 @@ init_curses_panel(void)
{
PyObject *m, *d, *v;
- /* Initialize object type */
- PyCursesPanel_Type.ob_type = &PyType_Type;
+ /* Initialize object type */
+ PyCursesPanel_Type.ob_type = &PyType_Type;
import_curses();
-
+
/* Create the module and add the functions */
m = Py_InitModule("_curses_panel", PyCurses_methods);
d = PyModule_GetDict(m);
@@ -492,6 +492,4 @@ init_curses_panel(void)
PyDict_SetItemString(d, "version", v);
PyDict_SetItemString(d, "__version__", v);
Py_DECREF(v);
-
}
-