mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Kill off softspace completely (except in formatter.py which seems to have
a different feature with the same name). The change to test_doctest.txt reduces the doctest failures to 3.
This commit is contained in:
parent
bdc36e4d9e
commit
79139b247b
19 changed files with 10 additions and 163 deletions
|
|
@ -3349,17 +3349,6 @@ PyEval_MergeCompilerFlags(PyCompilerFlags *cf)
|
|||
return result;
|
||||
}
|
||||
|
||||
int
|
||||
Py_FlushLine(void)
|
||||
{
|
||||
PyObject *f = PySys_GetObject("stdout");
|
||||
if (f == NULL)
|
||||
return 0;
|
||||
if (!PyFile_SoftSpace(f, 0))
|
||||
return 0;
|
||||
return PyFile_WriteString("\n", f);
|
||||
}
|
||||
|
||||
|
||||
/* External interface to call any callable object.
|
||||
The arg must be a tuple or NULL. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue