Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Jan 31, 2023
1 parent c1b54f0 commit 43db9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/symtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ inline_comprehension(PySTEntryObject *ste, PySTEntryObject *comp,
} else {
// free vars in comprehension that are locals in outer scope can
// now simply be locals, unless they are free in comp children
if ((PyLong_AsLong(existing) && DEF_BOUND) &&
if ((PyLong_AsLong(existing) & DEF_BOUND) &&
!is_free_in_children(comp, k)) {
if (PySet_Discard(comp_free, k) < 0) {
return 0;
Expand Down

0 comments on commit 43db9b8

Please sign in to comment.