diff options
author | vrajivk <3413293+vrajivk@users.noreply.github.com> | 2019-08-27 04:13:12 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2019-08-27 04:13:12 (GMT) |
commit | 8bf5fef8737fdd12724b9340d76a4ed391c4ad8a (patch) | |
tree | fcabf93bda1a331df4ac77b2a490b565a67f0e6e /Modules | |
parent | fae0ed5099de594a9204071d555cb8b76368cbf4 (diff) | |
download | cpython-8bf5fef8737fdd12724b9340d76a4ed391c4ad8a.zip cpython-8bf5fef8737fdd12724b9340d76a4ed391c4ad8a.tar.gz cpython-8bf5fef8737fdd12724b9340d76a4ed391c4ad8a.tar.bz2 |
bpo-36205: Fix the rusage implementation of time.process_time() (GH-15538)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/timemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index bdc93a2..5e0010c 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -1208,7 +1208,7 @@ _PyTime_GetProcessTimeWithInfo(_PyTime_t *tp, _Py_clock_info_t *info) return -1; } - _PyTime_t total = utime + utime; + _PyTime_t total = utime + stime; *tp = total; return 0; } |