Message170737
Please allow multiplying timedelta by a Decimal:
Python 3.3.0a1 (default, Mar 4 2012, 17:27:59) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> import decimal
>>> decimal.Decimal('0.1')*datetime.timedelta(seconds=3)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for *: 'Decimal' and 'datetime.timedelta'
>>> |
|
Date |
User |
Action |
Args |
2012-09-19 18:23:27 | cool-RR | set | recipients:
+ cool-RR |
2012-09-19 18:23:27 | cool-RR | set | messageid: <1348079007.17.0.324309830936.issue15975@psf.upfronthosting.co.za> |
2012-09-19 18:23:26 | cool-RR | link | issue15975 messages |
2012-09-19 18:23:26 | cool-RR | create | |
|