diff options
author | Georg Brandl <georg@python.org> | 2008-02-13 07:20:22 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-02-13 07:20:22 (GMT) |
commit | 0a40ffb1b30a904eef00bb0c7ce4e18e7ca3dc75 (patch) | |
tree | 477479bf7012d7f849248f10262031ccbc0809fb /Modules | |
parent | 5f8bd3729ee36296ba5ae71d128f6879022818d2 (diff) | |
download | cpython-0a40ffb1b30a904eef00bb0c7ce4e18e7ca3dc75.zip cpython-0a40ffb1b30a904eef00bb0c7ce4e18e7ca3dc75.tar.gz cpython-0a40ffb1b30a904eef00bb0c7ce4e18e7ca3dc75.tar.bz2 |
#2063: correct order of utime and stime in os.times()
result on Windows.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 7c2cb12..fab44d6 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -5987,10 +5987,10 @@ posix_times(PyObject *self, PyObject *noargs) */ return Py_BuildValue( "ddddd", - (double)(kernel.dwHighDateTime*429.4967296 + - kernel.dwLowDateTime*1e-7), (double)(user.dwHighDateTime*429.4967296 + user.dwLowDateTime*1e-7), + (double)(kernel.dwHighDateTime*429.4967296 + + kernel.dwLowDateTime*1e-7), (double)0, (double)0, (double)0); |