[Python-checkins] cpython: Re-linewrap comments
raymond.hettinger
python-checkins at python.org
Sun Aug 7 23:20:38 EDT 2016
https://hg.python.org/cpython/rev/226d6c1485e9
changeset: 102564:226d6c1485e9
user: Raymond Hettinger <python at rcn.com>
date: Sun Aug 07 20:20:33 2016 -0700
summary:
Re-linewrap comments
files:
Python/peephole.c | 21 ++++++++-------------
1 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/Python/peephole.c b/Python/peephole.c
--- a/Python/peephole.c
+++ b/Python/peephole.c
@@ -638,22 +638,17 @@
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;
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list