Skip to content

Commit efbded1

Browse files
committed
Style fixes
1 parent 5db29d8 commit efbded1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2007,7 +2007,6 @@ def testfunc(n):
20072007
self.assertNotIn("_POP_CALL_ONE_LOAD_CONST_INLINE_BORROW", uops)
20082008
self.assertNotIn("_POP_CALL_TWO_LOAD_CONST_INLINE_BORROW", uops)
20092009

2010-
20112010
def test_call_list_append(self):
20122011
def testfunc(n):
20132012
a = []

Python/optimizer_analysis.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,7 @@ remove_unneeded_uops(_PyUOpInstruction *buffer, int buffer_size)
612612
// _LOAD_FAST + _POP_TWO_LOAD_CONST_INLINE_BORROW + _POP_TOP
613613
// ...becomes:
614614
// _NOP + _POP_TOP + _NOP
615-
while (op_without_pop[opcode] || op_without_pop_null[opcode])
616-
{
615+
while (op_without_pop[opcode] || op_without_pop_null[opcode]) {
617616
_PyUOpInstruction *last = &buffer[pc - 1];
618617
while (op_skip[last->opcode]) {
619618
last--;

0 commit comments

Comments
 (0)