#include "parts.h"
#include "datetime.h"
static int test_run_counter = …;
static PyObject *
test_datetime_capi(PyObject *self, PyObject *args)
{ … }
#define MAKE_DATETIME_CHECK_FUNC … \
static PyObject *
datetime_check_date(PyObject *self, PyObject *args)
{ … }
static PyObject *
datetime_check_time(PyObject *self, PyObject *args)
{ … }
static PyObject *
datetime_check_datetime(PyObject *self, PyObject *args)
{ … }
static PyObject *
datetime_check_delta(PyObject *self, PyObject *args)
{ … }
static PyObject *
datetime_check_tzinfo(PyObject *self, PyObject *args)
{ … }
#undef MAKE_DATETIME_CHECK_FUNC
static PyObject *
make_timezones_capi(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_timezones_offset_zero(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_timezone_utc_capi(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_date_fromdate(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_datetime_fromdateandtime(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_datetime_fromdateandtimeandfold(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_time_fromtime(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_time_fromtimeandfold(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_delta_fromdsu(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_date_fromtimestamp(PyObject *self, PyObject *args)
{ … }
static PyObject *
get_datetime_fromtimestamp(PyObject *self, PyObject *args)
{ … }
static PyObject *
test_PyDateTime_GET(PyObject *self, PyObject *obj)
{ … }
static PyObject *
test_PyDateTime_DATE_GET(PyObject *self, PyObject *obj)
{ … }
static PyObject *
test_PyDateTime_TIME_GET(PyObject *self, PyObject *obj)
{ … }
static PyObject *
test_PyDateTime_DELTA_GET(PyObject *self, PyObject *obj)
{ … }
static PyMethodDef test_methods[] = …;
int
_PyTestCapi_Init_DateTime(PyObject *mod)
{ … }
static int
_testcapi_datetime_exec(PyObject *mod)
{ … }
static PyModuleDef_Slot _testcapi_datetime_slots[] = …;
static struct PyModuleDef _testcapi_datetime_module = …;
PyMODINIT_FUNC
PyInit__testcapi_datetime(void)
{ … }