Skip to content

Commit 44749c7

Browse files
committed
Fix ERROR_IF
1 parent b35ba13 commit 44749c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/bytecodes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,7 +1925,7 @@ dummy_func(
19251925
}
19261926
PyStackRef_CLOSE(str);
19271927
PyStackRef_CLOSE(value);
1928-
ERROR_IF(interpolation_o == NULL, error);
1928+
ERROR_IF(interpolation_o == NULL);
19291929
interpolation = PyStackRef_FromPyObjectSteal(interpolation_o);
19301930
}
19311931

@@ -1935,7 +1935,7 @@ dummy_func(
19351935
PyObject *template_o = _PyTemplate_Build(strings_o, interpolations_o);
19361936
PyStackRef_CLOSE(interpolations);
19371937
PyStackRef_CLOSE(strings);
1938-
ERROR_IF(template_o == NULL, error);
1938+
ERROR_IF(template_o == NULL);
19391939
template = PyStackRef_FromPyObjectSteal(template_o);
19401940
}
19411941

0 commit comments

Comments
 (0)