Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
blhsing committed Jul 5, 2024
1 parent 970e3d9 commit cf9945e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@ dummy_func(
ERROR_NO_POP();
}
if (v_o == NULL) {
if (PyMapping_GetItemRef(GLOBALS(), name, &v_o) < 0) {
if (PyMapping_GetOptionalItem(GLOBALS(), name, &v_o) < 0) {
ERROR_NO_POP();
}
if (v_o == NULL) {
Expand Down

0 comments on commit cf9945e

Please sign in to comment.