summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-05-08 14:35:02 +0000
committerMark Dickinson <dickinsm@gmail.com>2010-05-08 14:35:02 +0000
commit0381e3f16a0d390e956c8adbe905d48e92de9cc6 (patch)
treeeda57579d3b4dda56a9e487766ffe849b0372b6d /Python/pystate.c
parent161b024b6d2e68295e89f24837a27da599638ea2 (diff)
downloadcpython-git-0381e3f16a0d390e956c8adbe905d48e92de9cc6.tar.gz
Issue #8644: Improve accuracy of timedelta.total_seconds, by doing intermediate
computations with integer arithmetic instead of floating point. td.total_seconds() now agrees with td / timedelta(seconds = 1). Thanks Alexander Belopolsky for the patch.
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions