[issue14262] Allow using decimals as arguments to `timedelta`

STINNER Victor report at bugs.python.org
Tue Mar 13 13:51:49 CET 2012


STINNER Victor <victor.stinner at gmail.com> added the comment:

Attached patch changes timedelta constructor to accept decimal.Decimal.

See also the issue #14180.

----------
keywords: +patch
Added file: http://bugs.python.org/file24820/timedelta_decimal.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14262>
_______________________________________


More information about the Python-bugs-list mailing list