diff Python/bltinmodule.c @ 40788:e9a6234b26af

* Remove PRINT_ITEM(_TO), PRINT_NEWLINE(_TO) opcodes. * Fix some docstrings and one Print -> print. * Fix test_{class,code,descrtut,dis,extcall,parser,popen,pkg,subprocess,syntax,traceback}. These were the ones that generated code with a print statement. In most remaining failing tests there's an issue with the soft space.
author Georg Brandl <georg@python.org>
date Fri, 09 Feb 2007 21:28:07 +0000
parents 793e0323d4d6
children be41da66ce37
line wrap: on
line diff
--- a/Python/bltinmodule.c	Fri Feb 09 20:50:08 2007 +0000
+++ b/Python/bltinmodule.c	Fri Feb 09 21:28:07 2007 +0000
@@ -1398,7 +1398,7 @@
 
 	if (dummy_args == NULL)
 		return NULL;
-	if (!PyArg_ParseTupleAndKeywords(dummy_args, kwds, "|OOO:Print",
+	if (!PyArg_ParseTupleAndKeywords(dummy_args, kwds, "|OOO:print",
 					 kwlist, &sep, &end, &file))
                 return NULL;
 	if (file == NULL || file == Py_None)