diff options
author | Fred Drake <fdrake@acm.org> | 2001-01-27 18:58:04 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-01-27 18:58:04 (GMT) |
commit | 2174f80c66a7f9e8d39ac09d5d367e78ca743eea (patch) | |
tree | c57da5dc74c6604e2366d5aa73dc62bc84220ddd /Modules | |
parent | e7213c7a808f29cbaadea6156e35c077d488d419 (diff) | |
download | cpython-2174f80c66a7f9e8d39ac09d5d367e78ca743eea.zip cpython-2174f80c66a7f9e8d39ac09d5d367e78ca743eea.tar.gz cpython-2174f80c66a7f9e8d39ac09d5d367e78ca743eea.tar.bz2 |
init_curses_panel(): Be more consistent with indentation and blank lines.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_curses_panel.c | 8 |
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); - } - |