[Python-checkins] python/dist/src/Python compile.c,2.323,2.324

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Wed Aug 25 17:16:02 CEST 2004


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24552

Modified Files:
	compile.c 
Log Message:
Fix typo in comment and add clarification.

Index: compile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/compile.c,v
retrieving revision 2.323
retrieving revision 2.324
diff -u -d -r2.323 -r2.324
--- compile.c	25 Aug 2004 03:18:29 -0000	2.323
+++ compile.c	25 Aug 2004 15:15:56 -0000	2.324
@@ -557,7 +557,8 @@
 		        "a and b or c"
 			"a and b and c"
 		   x:JUMP_IF_FALSE y   y:JUMP_IF_FALSE z  -->  x:JUMP_IF_FALSE z
-		   x:JUMP_IF_FALSE y   y:JUMP_IF_FALSE z  -->  x:JUMP_IF_FALSE y+3 
+		   x:JUMP_IF_FALSE y   y:JUMP_IF_TRUE z  -->  x:JUMP_IF_FALSE y+3
+			where y+3 is the instruction following the second test.
 		*/
 		case JUMP_IF_FALSE:
 		case JUMP_IF_TRUE:



More information about the Python-checkins mailing list