summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-07-16 11:30:51 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-07-16 11:30:51 (GMT)
commit65fe25e59710eada7eb41bddb45bdca8b61b5668 (patch)
tree9120eb8e01c582ba51b4732cdb21451ebe84b637 /Misc
parent0c474d01a19e1237940a049a981ddc38588cde58 (diff)
downloadcpython-65fe25e59710eada7eb41bddb45bdca8b61b5668.zip
cpython-65fe25e59710eada7eb41bddb45bdca8b61b5668.tar.gz
cpython-65fe25e59710eada7eb41bddb45bdca8b61b5668.tar.bz2
Merged revisions 64974 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r64974 | mark.dickinson | 2008-07-15 20:08:33 +0100 (Tue, 15 Jul 2008) | 3 lines Issue #3008: add instance method float.hex and class method float.fromhex to convert floats to and from hexadecimal strings respectively. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 235e7f6..5bc8b79 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's new in Python 3.0b2?
Core and Builtins
-----------------
+- 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.
+
- Issue #3083: Add alternate (#) formatting for bin, oct, hex output
for str.format(). This adds the prefix 0b, 0o, or 0x, respectively.