commit | 58a42244cfefc96b7adada5344b231ff2f32a86a | [log] [tgz] |
---|---|---|
author | Eric Smith <eric@trueblade.com> | Thu Apr 30 01:00:33 2009 +0000 |
committer | Eric Smith <eric@trueblade.com> | Thu Apr 30 01:00:33 2009 +0000 |
tree | a2a90372b3bef2cc1c06bb9f07b880f2c3997731 | |
parent | 738a41dd85f55f49508be62a135f9e65b5c92255 [diff] [blame] |
Issue #1588: Add complex.__format__.
diff --git a/Misc/NEWS b/Misc/NEWS index 01313f8..a14682a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,9 @@ 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.