Skip to content

Commit de520bd

Browse files
goto fail rather than return -1
1 parent f41b623 commit de520bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/specialize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ _Py_Specialize_CallFunction(PyObject **stack_pointer, uint8_t original_oparg,
682682
// kind = PYCMETHOD;
683683
default:
684684
SPECIALIZATION_FAIL(CALL_FUNCTION, type, callable, "bad call flags");
685-
return -1;
685+
goto fail;
686686
}
687687
assert(kind > 0);
688688
PyCFunction cfunc = PyCFunction_GET_FUNCTION(meth);

0 commit comments

Comments
 (0)