diff options
author | Larry Hastings <larry@hastings.org> | 2012-04-19 22:07:49 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2012-04-19 22:07:49 (GMT) |
commit | 6fe20b3aee076850e390ef8bb2078b1cd09ddf88 (patch) | |
tree | 235f93dbd1d92f3983b6e4a4f1d84db296420365 /Modules/_testcapimodule.c | |
parent | dd5aa36f179011f390a0cc6fb4ba7bba1764f1a9 (diff) | |
download | cpython-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.c | 11 |
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) { |