From a74e59bc8ededd01af1764ade3573474bc4277d3 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 30 Jan 2024 15:04:36 +0100 Subject: [PATCH] Fix typo for Python <= 3.8. Typo added in dc71bd0. --- src/sage/cpython/pycore_long.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/cpython/pycore_long.h b/src/sage/cpython/pycore_long.h index ff1a73d097a..99561f1ba96 100644 --- a/src/sage/cpython/pycore_long.h +++ b/src/sage/cpython/pycore_long.h @@ -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