From: Raymond Hettinger Date: Wed, 25 Aug 2004 15:15:56 +0000 (+0000) Subject: Fix typo in comment and add clarification. X-Git-Tag: v2.4a3~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65d3c0537a061f392db260a13d2a6d239593c2eb;p=python Fix typo in comment and add clarification. --- diff --git a/Python/compile.c b/Python/compile.c index fe31e6f105..1de249f6c5 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -557,7 +557,8 @@ optimize_code(PyObject *code, PyObject* consts, PyObject *names, PyObject *linen "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: