From a18cc99641bb904383b484185028b01c7059a368 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Sat, 26 Dec 2015 09:38:41 +1100 Subject: [PATCH] python: use consistent capitalisation for type names. I've been inconsistent with type names. Spell all edlib types (Pane Mark Comm) with leading capital letter. Signed-off-by: NeilBrown --- lang-python.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang-python.c b/lang-python.c index d167bfc4..c9f67fdf 100644 --- a/lang-python.c +++ b/lang-python.c @@ -998,9 +998,9 @@ void edlib_init(struct editor *ed) Py_INCREF(&PaneType); Py_INCREF(&MarkType); - PyModule_AddObject(m, "pane", (PyObject *)&PaneType); - PyModule_AddObject(m, "mark", (PyObject *)&MarkType); - PyModule_AddObject(m, "comm", (PyObject *)&CommType); + PyModule_AddObject(m, "Pane", (PyObject *)&PaneType); + PyModule_AddObject(m, "Mark", (PyObject *)&MarkType); + PyModule_AddObject(m, "Comm", (PyObject *)&CommType); key_add(ed->commands, "python-load", &python_load); Edlib_CommandFailed = PyErr_NewException("edlib.commandfailed", NULL, NULL); -- 2.39.5