]> granicus.if.org Git - python/commitdiff
A few more whitespace normalizations.
authorGuido van Rossum <guido@python.org>
Tue, 7 Jan 2003 20:04:12 +0000 (20:04 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Jan 2003 20:04:12 +0000 (20:04 +0000)
Modules/readline.c

index 34919d7c1062cc18fff37d44591daa2cae2f19d7..972b5b2db361ffd1a6435f93cadea8a8af5a8850 100644 (file)
@@ -361,7 +361,7 @@ get_history_item(PyObject *self, PyObject *args)
        if (!PyArg_ParseTuple(args, "i:index", &idx))
                return NULL;
        if ((hist_ent = history_get(idx)))
-           return PyString_FromString(hist_ent->line);
+               return PyString_FromString(hist_ent->line);
        else {
                Py_INCREF(Py_None);
                return Py_None;
@@ -477,6 +477,7 @@ static struct PyMethodDef readline_methods[] =
        {0, 0}
 };
 
+
 /* C function to call the Python hooks. */
 
 static int
@@ -523,6 +524,7 @@ on_pre_input_hook(void)
 }
 #endif
 
+
 /* C function to call the Python completer. */
 
 static char *
@@ -577,6 +579,7 @@ flex_complete(char *text, int start, int end)
        return completion_matches(text, *on_completion);
 }
 
+
 /* Helper to initialize GNU readline properly. */
 
 static void