diff options
author | Eric Smith <eric@trueblade.com> | 2008-07-16 00:11:49 +0000 |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2008-07-16 00:11:49 +0000 |
commit | ef55fcbc44301ddf851dcaa2137205a133b8fb40 (patch) | |
tree | 632965300cc465a738e11d321ea72319a654716e /Misc/NEWS | |
parent | a804a902e3a64ee55260733275349265aece52bb (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |