Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eendebakpt committed Jan 11, 2025
1 parent 2adc448 commit 0ac18f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/specialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -2388,7 +2388,7 @@ long_bool_add(PyObject *lhs, PyObject *rhs) \
if (rhs == Py_False) {
return Py_NewRef(lhs);
}
return _PyLong_Add((PyLongObject *)lhs, (PyLongObject *)_PyLong_GetZero());
return _PyLong_Add((PyLongObject *)lhs, (PyLongObject *)_PyLong_GetOne());
}

static binaryopactionfunc long_bool_actions[NB_OPARG_LAST+1] = {
Expand Down

0 comments on commit 0ac18f4

Please sign in to comment.