Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc439d2 commit 53ebf4bCopy full SHA for 53ebf4b
1 file changed
Python/compile.c
@@ -2738,8 +2738,9 @@ compiler_try_except(struct compiler *c, stmt_ty s)
2738
2739
cleanup_end = compiler_new_block(c);
2740
cleanup_body = compiler_new_block(c);
2741
- if (!(cleanup_end || cleanup_body))
+ if (cleanup_end == NULL || cleanup_body == NULL) {
2742
return 0;
2743
+ }
2744
2745
compiler_nameop(c, handler->v.ExceptHandler.name, Store);
2746
ADDOP(c, POP_TOP);
0 commit comments