summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapimodule.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-04-19 22:07:49 (GMT)
committerLarry Hastings <larry@hastings.org>2012-04-19 22:07:49 (GMT)
commit6fe20b3aee076850e390ef8bb2078b1cd09ddf88 (patch)
tree235f93dbd1d92f3983b6e4a4f1d84db296420365 /Modules/_testcapimodule.c
parentdd5aa36f179011f390a0cc6fb4ba7bba1764f1a9 (diff)
downloadcpython-6fe20b3aee076850e390ef8bb2078b1cd09ddf88.zip
cpython-6fe20b3aee076850e390ef8bb2078b1cd09ddf88.tar.gz
cpython-6fe20b3aee076850e390ef8bb2078b1cd09ddf88.tar.bz2
Issue #14127: Add st_{cma}time_ns fields to os.stat() result object.
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r--Modules/_testcapimodule.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index ec52a09..471d66d 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -2362,17 +2362,6 @@ run_in_subinterp(PyObject *self, PyObject *args)
return PyLong_FromLong(r);
}
-static PyObject*
-_PyLong_FromTime_t(time_t value)
-{
-#if defined(HAVE_LONG_LONG) && SIZEOF_TIME_T == SIZEOF_LONG_LONG
- return PyLong_FromLongLong(value);
-#else
- assert(sizeof(time_t) <= sizeof(long));
- return PyLong_FromLong(value);
-#endif
-}
-
static PyObject *
test_pytime_object_to_time_t(PyObject *self, PyObject *args)
{