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:
parent
d91fcbe265
commit
52db519faa
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue