Skip to content

Commit 7cfdfcb

Browse files
authored
Merge pull request #146 from J08nY/fix/op
Fix typo for Python <= 3.8.
2 parents d212a13 + 18bf393 commit 7cfdfcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypari2/pycore_long.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ _PyLong_SetSignAndDigitCount(PyLongObject *op, int sign, Py_ssize_t size)
8989
{
9090
#if (PY_MAJOR_VERSION == 3) && (PY_MINOR_VERSION < 9)
9191
// The function Py_SET_SIZE is defined starting with python 3.9.
92-
Py_SIZE(o) = size;
92+
Py_SIZE(op) = size;
9393
#else
9494
Py_SET_SIZE(op, sign < 0 ? -size : size);
9595
#endif

0 commit comments

Comments
 (0)