summaryrefslogtreecommitdiff
path: root/Python/peephole.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-08-07 20:20:33 -0700
committerRaymond Hettinger <python@rcn.com>2016-08-07 20:20:33 -0700
commitb925590e46fa8bc6f9e31bc837f31e9bfc89150a (patch)
tree7719dda0b87c61e59b00b270ee62d3035e72c5f5 /Python/peephole.c
parent982c912aeee4daf2e839b82e3b5a963a206e3435 (diff)
downloadcpython-b925590e46fa8bc6f9e31bc837f31e9bfc89150a.tar.gz
Re-linewrap comments
Diffstat (limited to 'Python/peephole.c')
-rw-r--r--Python/peephole.c21
1 files changed, 8 insertions, 13 deletions
diff --git a/Python/peephole.c b/Python/peephole.c
index 62625f7f45..b2c0279b73 100644
--- a/Python/peephole.c
+++ b/Python/peephole.c
@@ -638,22 +638,17 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names,
j = codestr[tgt];
if (CONDITIONAL_JUMP(j)) {
- /* NOTE: all possible jumps here are
- absolute! */
+ /* NOTE: all possible jumps here are absolute. */
if (JUMPS_ON_TRUE(j) == JUMPS_ON_TRUE(opcode)) {
- /* The second jump will be
- taken iff the first is.
- The current opcode inherits
- its target's stack effect */
+ /* The second jump will be taken iff the first is.
+ The current opcode inherits its target's
+ stack effect */
h = set_arg(codestr, i, get_arg(codestr, tgt));
} else {
- /* The second jump is not taken
- if the first is (so jump past
- it), and all conditional
- jumps pop their argument when
- they're not taken (so change
- the first jump to pop its
- argument when it's taken). */
+ /* The second jump is not taken if the first is (so
+ jump past it), and all conditional jumps pop their
+ argument when they're not taken (so change the
+ first jump to pop its argument when it's taken). */
h = set_arg(codestr, i, tgt + 2);
j = opcode == JUMP_IF_TRUE_OR_POP ?
POP_JUMP_IF_TRUE : POP_JUMP_IF_FALSE;