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.
2 parents 90246cc + 824ac88 commit c075f5bCopy full SHA for c075f5b
Python/compile.c
@@ -790,7 +790,7 @@ _PyCompile_TopFBlock(compiler *c)
790
bool
791
_PyCompile_InExceptionHandler(compiler *c)
792
{
793
- for (Py_ssize_t i = c->u->u_nfblocks; i < c->u->u_nfblocks; i++) {
+ for (Py_ssize_t i = 0; i < c->u->u_nfblocks; i++) {
794
fblockinfo *block = &c->u->u_fblock[i];
795
switch (block->fb_type) {
796
case COMPILE_FBLOCK_TRY_EXCEPT:
0 commit comments