diff options
author | Barry Warsaw <barry@python.org> | 2001-11-19 18:36:43 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-11-19 18:36:43 +0000 |
commit | e5739a69a755000143849d7f776c4ff2ef8b690a (patch) | |
tree | b7ff9005bb02f12c273ce08b8a36b2db49974222 /Lib/idlelib/configDialog.py | |
parent | 75a40fcc3a57c76b3c844706a45a6a3f1a1e4a73 (diff) | |
download | cpython-git-e5739a69a755000143849d7f776c4ff2ef8b690a.tar.gz |
formatdate(): Jason Mastaler correctly points out that divmod with a
negative modulus won't return the right values. So always do positive
modulus on an absolute value and twiddle the sign as appropriate after
the fact.
Diffstat (limited to 'Lib/idlelib/configDialog.py')
0 files changed, 0 insertions, 0 deletions