summaryrefslogtreecommitdiff
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2008-07-16 00:11:49 +0000
committerEric Smith <eric@trueblade.com>2008-07-16 00:11:49 +0000
commitef55fcbc44301ddf851dcaa2137205a133b8fb40 (patch)
tree632965300cc465a738e11d321ea72319a654716e /Misc/NEWS
parenta804a902e3a64ee55260733275349265aece52bb (diff)
downloadcpython-ef55fcbc44301ddf851dcaa2137205a133b8fb40.tar.gz
Complete issue 3083: add alternate (#) formatting to bin, oct, hex in str.format().
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d39bc59cd5..a9ea067807 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 2.6 beta 2?
Core and Builtins
-----------------
+- Issue #3083: Add alternate (#) formatting for bin, oct, hex output
+ for str.format(). This adds the prefix 0b, 0o, or 0x, respectively.
+
- Issue #3008: the float type has a new instance method 'float.hex'
and a new class method 'float.fromhex' to convert floating-point
numbers to and from hexadecimal strings, respectively.