#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index df15860..85725f4 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -2670,7 +2670,7 @@
long intval;
if (PyFloat_Check(t)) {
double tval = PyFloat_AsDouble(t);
- PyObject *intobj = Py_Type(t)->tp_as_number->nb_int(t);
+ PyObject *intobj = Py_TYPE(t)->tp_as_number->nb_int(t);
if (!intobj)
return -1;
intval = PyInt_AsLong(intobj);