[PATCH] remove comma in Python/ceval.c

Art Haas arthur.haas at westgeo.com
Thu Oct 18 16:45:03 EDT 2001


Hi.

I was trying to build Python-2.2a4 on AIX using the xlc compiler. The
following trivial patch let me build the python executable.

I've had bad luck trying to post this to the SourceForge patch page -
it keeps saying `You Attempted To Double-submit this item. Please
avoid double-clicking.' I promise I only clicked the Submit button
once! :-)

My thanks to everyone working on Python!

--- Python-2.2a4/Python/ceval.c.orig	Wed Sep 26 14:24:45 2001
+++ Python-2.2a4/Python/ceval.c	Thu Oct 18 09:45:16 2001
@@ -468,7 +468,7 @@
 		WHY_RETURN,	/* 'return' statement */
 		WHY_BREAK,	/* 'break' statement */
 		WHY_CONTINUE,	/* 'continue' statement */
-		WHY_YIELD,	/* 'yield' operator */
+		WHY_YIELD	/* 'yield' operator */
 };
 
 static enum why_code do_raise(PyObject *, PyObject *, PyObject *);

-- 
### Art Haas - (713) 689-2417
# They that can give up essential liberty to obtain a little temporary
# safety deserve neither liberty nor safety.
# -- Benjamin Franklin, Historical Review of Pennsylvania, 1759



More information about the Python-list mailing list