[docs] https://docs.python.org/3/library/decimal.html documentation issue

Sam Towers samtowers08 at gmail.com
Tue May 21 06:49:25 EDT 2019


my python version is 3.7, running in Pycharm.

on the doc page there is:

>>> Decimal('7.325').quantize(Decimal('.01'), rounding=ROUND_DOWN)

but "name 'ROUND_DOWN' is not defined"

This worked though :)

>>> Decimal('7.325').quantize(Decimal('.01'), rounding='ROUND_DOWN')

Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20190521/0b4f4feb/attachment-0001.html>


More information about the docs mailing list