diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-04-20 22:32:49 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-04-20 22:32:49 (GMT) |
commit | 7c186e2a18bf174afd5cccc8c35b7167d05f7e2a (patch) | |
tree | 1ba75e9cb85d4ab1e0320d3636c1db90d5c8f97e /Python/frozen.c | |
parent | 50eb60e6bfedbdad2dda30fa5ce7fe3ce83f7748 (diff) | |
download | cpython-7c186e2a18bf174afd5cccc8c35b7167d05f7e2a.zip cpython-7c186e2a18bf174afd5cccc8c35b7167d05f7e2a.tar.gz cpython-7c186e2a18bf174afd5cccc8c35b7167d05f7e2a.tar.bz2 |
Issue #2706: Add support for dividing a timedelta by another timedelta.
Adds support for the three division operations:
- timedelta / timedelta -> float
- timedelta // timedelta -> int
- timedelta % timedelta -> timedelta
also adds support for divmod(timedelta, timedelta).
Patch by Victor Stinner, adapted for py3k and extended by Alexander
Belopolsky.
Diffstat (limited to 'Python/frozen.c')
0 files changed, 0 insertions, 0 deletions