diff Python/compile.c @ 33271:3dbdbd572d94 legacy-trunk

Fix typo in comment and add clarification.
author Raymond Hettinger <python@rcn.com>
date Wed, 25 Aug 2004 15:15:56 +0000
parents b63b30821ef4
children bac997b79b19
line wrap: on
line diff
--- a/Python/compile.c	Wed Aug 25 14:01:32 2004 +0000
+++ b/Python/compile.c	Wed Aug 25 15:15:56 2004 +0000
@@ -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: