#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 864df23..edf5e9b 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -118,7 +118,7 @@
return NULL;
}
- method = _PyType_Lookup(Py_Type(number), ceil_str);
+ method = _PyType_Lookup(Py_TYPE(number), ceil_str);
if (method == NULL)
return math_1(number, ceil);
else
@@ -148,7 +148,7 @@
return NULL;
}
- method = _PyType_Lookup(Py_Type(number), floor_str);
+ method = _PyType_Lookup(Py_TYPE(number), floor_str);
if (method == NULL)
return math_1(number, floor);
else