Skip to content

Commit c3bb232

Browse files
committed
fixup
1 parent cb4eddb commit c3bb232

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

Python/codegen.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3723,14 +3723,6 @@ update_start_location_to_match_attr(compiler *c, location loc,
37233723
return loc;
37243724
}
37253725

3726-
static int push_inlined_comprehension_state(compiler *c, location loc,
3727-
PySTEntryObject *comp,
3728-
_PyCompile_InlinedComprehensionState *state);
3729-
static int pop_inlined_comprehension_state(compiler *c, location loc,
3730-
_PyCompile_InlinedComprehensionState *state);
3731-
3732-
PyObject *_PyCompile_Filename(compiler *c);
3733-
37343726
static int
37353727
maybe_optimize_function_call(compiler *c, expr_ty e, jump_target_label end)
37363728
{
@@ -4650,7 +4642,6 @@ codegen_comprehension(compiler *c, expr_ty e, int type,
46504642
}
46514643

46524644
ADDOP_I(c, loc, op, 0);
4653-
46544645
if (is_inlined) {
46554646
ADDOP_I(c, loc, SWAP, 2);
46564647
}

Python/compile.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,12 +1231,6 @@ _PyCompile_Metadata(compiler *c)
12311231
return &c->u->u_metadata;
12321232
}
12331233

1234-
PyObject *
1235-
_PyCompile_Filename(compiler *c)
1236-
{
1237-
return c->c_filename;
1238-
}
1239-
12401234
// Merge *obj* with constant cache, without recursion.
12411235
int
12421236
_PyCompile_ConstCacheMergeOne(PyObject *const_cache, PyObject **obj)

0 commit comments

Comments
 (0)