A few more whitespace normalizations.

This commit is contained in:
Guido van Rossum 2003-01-07 20:04:12 +00:00
parent 74f3143d18
commit 05ac449d29
1 changed files with 4 additions and 1 deletions

View File

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