for some reason, the lack of adherence to Python's C whitespace rules

must have annoyed me at some point.
This commit is contained in:
Michael W. Hudson 2004-08-02 13:21:09 +00:00
parent d91fcbe265
commit 52db519faa
1 changed files with 2 additions and 2 deletions

View File

@ -1588,7 +1588,7 @@ builtin_raw_input(PyObject *self, PyObject *args)
if (PyFile_WriteString(" ", fout) != 0) if (PyFile_WriteString(" ", fout) != 0)
return NULL; return NULL;
} }
if (PyFile_Check (fin) && PyFile_Check (fout) if (PyFile_Check(fin) && PyFile_Check(fout)
&& isatty(fileno(PyFile_AsFile(fin))) && isatty(fileno(PyFile_AsFile(fin)))
&& isatty(fileno(PyFile_AsFile(fout)))) { && isatty(fileno(PyFile_AsFile(fout)))) {
PyObject *po; PyObject *po;
@ -1607,7 +1607,7 @@ builtin_raw_input(PyObject *self, PyObject *args)
po = NULL; po = NULL;
prompt = ""; prompt = "";
} }
s = PyOS_Readline(PyFile_AsFile (fin), PyFile_AsFile (fout), s = PyOS_Readline(PyFile_AsFile(fin), PyFile_AsFile(fout),
prompt); prompt);
Py_XDECREF(po); Py_XDECREF(po);
if (s == NULL) { if (s == NULL) {