On 13.10.2015 17:38, Raymond Hettinger wrote:
Traceback (most recent call last):
   File "<pyshell#1>", line 1, in <module>
     Decimal('3.14') + 2.71828
TypeError: unsupported operand type(s) for +: 'decimal.Decimal' and 'float'

Reminds me of 'int' and 'long'. Different but almost the same.

Best,
Sven
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to