Skip to content

Commit 2daaa2e

Browse files
committed
apply Guido's suggestion
1 parent 6071503 commit 2daaa2e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Python/bytecodes.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,7 @@ dummy_func(
515515
exc = args[0];
516516
/* fall through */
517517
case 0:
518-
if (do_raise(tstate, exc, cause)) {
519-
ERROR_IF(true, exception_unwind);
520-
}
518+
ERROR_IF(do_raise(tstate, exc, cause), exception_unwind);
521519
break;
522520
default:
523521
_PyErr_SetString(tstate, PyExc_SystemError,

Python/generated_cases.c.h

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)