month = PyDateTime_GET_MONTH(obj);
day = PyDateTime_GET_DAY(obj);
- return Py_BuildValue("(lll)", year, month, day);
+ return Py_BuildValue("(iii)", year, month, day);
}
static PyObject *
microsecond = PyDateTime_DATE_GET_MICROSECOND(obj);
PyObject *tzinfo = PyDateTime_DATE_GET_TZINFO(obj);
- return Py_BuildValue("(llllO)", hour, minute, second, microsecond, tzinfo);
+ return Py_BuildValue("(iiiiO)", hour, minute, second, microsecond, tzinfo);
}
static PyObject *
microsecond = PyDateTime_TIME_GET_MICROSECOND(obj);
PyObject *tzinfo = PyDateTime_TIME_GET_TZINFO(obj);
- return Py_BuildValue("(llllO)", hour, minute, second, microsecond, tzinfo);
+ return Py_BuildValue("(iiiiO)", hour, minute, second, microsecond, tzinfo);
}
static PyObject *
seconds = PyDateTime_DELTA_GET_SECONDS(obj);
microseconds = PyDateTime_DELTA_GET_MICROSECONDS(obj);
- return Py_BuildValue("(lll)", days, seconds, microseconds);
+ return Py_BuildValue("(iii)", days, seconds, microseconds);
}
/* test_thread_state spawns a thread of its own, and that thread releases