diff Python/ceval.c @ 40799:04f5cbc74424

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.
author Guido van Rossum <guido@python.org>
date Fri, 09 Feb 2007 23:20:19 +0000
parents e9a6234b26af
children 0ea24f4f2467
line wrap: on
line diff
--- a/Python/ceval.c	Fri Feb 09 22:43:47 2007 +0000
+++ b/Python/ceval.c	Fri Feb 09 23:20:19 2007 +0000
@@ -3349,17 +3349,6 @@
 	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. */