Skip to content

Commit

Permalink
Fix typo for Python <= 3.8.
Browse files Browse the repository at this point in the history
Typo added in dc71bd0.
  • Loading branch information
J08nY committed Jan 30, 2024
1 parent 3dd953c commit a74e59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/cpython/pycore_long.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ _PyLong_SetSignAndDigitCount(PyLongObject *op, int sign, Py_ssize_t size)
{
#if (PY_MAJOR_VERSION == 3) && (PY_MINOR_VERSION < 9)
// The function Py_SET_SIZE is defined starting with python 3.9.
Py_SIZE(o) = size;
Py_SIZE(op) = size;
#else
Py_SET_SIZE(op, sign < 0 ? -size : size);
#endif
Expand Down

0 comments on commit a74e59b

Please sign in to comment.