diff options
author | Eric Smith <eric@trueblade.com> | 2009-04-30 00:58:58 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2009-04-30 00:58:58 (GMT) |
commit | 9139cc6a3ba9b6c66a09256f3295b1a4ed50adc9 (patch) | |
tree | 7e116afff6e262ba6161cad6c1f223f6741bf0d0 /Misc | |
parent | 2518d3c1c0b907b1cabdaa647c7affaa01ffca63 (diff) | |
download | cpython-9139cc6a3ba9b6c66a09256f3295b1a4ed50adc9.zip cpython-9139cc6a3ba9b6c66a09256f3295b1a4ed50adc9.tar.gz cpython-9139cc6a3ba9b6c66a09256f3295b1a4ed50adc9.tar.bz2 |
Issue #1588: Add complex.__format__.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,6 +12,9 @@ What's New in Python 2.7 alpha 1 Core and Builtins ----------------- +- Issue #1588: Add complex.__format__. For example, + format(complex(1, 2./3), '.5') now produces a sensible result. + - Issue #5864: Fix empty format code formatting for floats so that it never gives more than the requested number of significant digits. @@ -45,7 +48,7 @@ Core and Builtins some builtin types. - Issue #1869: fix a couple of minor round() issues. round(5e15+1) - was giving 5e15+2; round(-0.0) was losing the sign of the zero. + was giving 5e15+2; round(-0.0) was losing the sign of the zero. - Issue #5759: float() didn't call __float__ on str subclasses. |