[docs] [issue23460] Decimals do not obey ':g' exponential notation formatting rules

Tuomas Suutari report at bugs.python.org
Sat Mar 7 12:10:51 CET 2015


Tuomas Suutari added the comment:

Here's a patch that fixes the description for 'g' to explain what happens for `Decimal` and also documents the Decimal.__format__ in the documentation of the decimal module.

----------
keywords: +patch
nosy: +Tuomas Suutari
Added file: http://bugs.python.org/file38370/issue23460.patch

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


More information about the docs mailing list