Skip to content

Commit bb307e7

Browse files
Update compile.c
1 parent bef35bc commit bb307e7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Python/compile.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,9 +1474,6 @@ optimize_and_assemble_code_unit(struct compiler_unit *u, PyObject *const_cache,
14741474
goto error;
14751475
}
14761476

1477-
// +1 due to all calls exceeding their stack limit by one.
1478-
stackdepth += 1;
1479-
14801477
/** Assembly **/
14811478
co = _PyAssemble_MakeCodeObject(&u->u_metadata, const_cache, consts,
14821479
stackdepth, &optimized_instrs, nlocalsplus,

0 commit comments

Comments
 (0)