Kaydet (Commit) 2174f80c authored tarafından Fred Drake's avatar Fred Drake

init_curses_panel(): Be more consistent with indentation and blank lines.

üst e7213c7a
...@@ -474,11 +474,11 @@ init_curses_panel(void) ...@@ -474,11 +474,11 @@ init_curses_panel(void)
{ {
PyObject *m, *d, *v; PyObject *m, *d, *v;
/* Initialize object type */ /* Initialize object type */
PyCursesPanel_Type.ob_type = &PyType_Type; PyCursesPanel_Type.ob_type = &PyType_Type;
import_curses(); import_curses();
/* Create the module and add the functions */ /* Create the module and add the functions */
m = Py_InitModule("_curses_panel", PyCurses_methods); m = Py_InitModule("_curses_panel", PyCurses_methods);
d = PyModule_GetDict(m); d = PyModule_GetDict(m);
...@@ -492,6 +492,4 @@ init_curses_panel(void) ...@@ -492,6 +492,4 @@ init_curses_panel(void)
PyDict_SetItemString(d, "version", v); PyDict_SetItemString(d, "version", v);
PyDict_SetItemString(d, "__version__", v); PyDict_SetItemString(d, "__version__", v);
Py_DECREF(v); Py_DECREF(v);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment