Skip to content

Commit 8a74cff

Browse files
fix wrong return code
1 parent 9642df5 commit 8a74cff

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
@@ -1259,7 +1259,7 @@ specialize_c_call(PyObject *callable, _Py_CODEUNIT *instr, int nargs,
12591259
cache1->obj = builtin_len; // borrowed
12601260
*instr = _Py_MAKECODEUNIT(CALL_FUNCTION_LEN,
12611261
_Py_OPARG(*instr));
1262-
return 1;
1262+
return 0;
12631263
}
12641264
*instr = _Py_MAKECODEUNIT(CALL_FUNCTION_BUILTIN_O,
12651265
_Py_OPARG(*instr));

0 commit comments

Comments
 (0)