diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-07-15 19:08:33 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-07-15 19:08:33 (GMT) |
commit | 7103aa42c0d3ce8d75c9a9e299cf4d9b0be544de (patch) | |
tree | 4cf5fe6e4276b444443b1aa31fbc6a2ae89a4be6 /Misc/NEWS | |
parent | 9949d6ed4b74e50566abc85ac0154a664e6436ee (diff) | |
download | cpython-7103aa42c0d3ce8d75c9a9e299cf4d9b0be544de.zip cpython-7103aa42c0d3ce8d75c9a9e299cf4d9b0be544de.tar.gz cpython-7103aa42c0d3ce8d75c9a9e299cf4d9b0be544de.tar.bz2 |
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/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ What's New in Python 2.6 beta 2? 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 #2235: __hash__ is once again inherited by default. To allow collections.Hashable to remain meaningful in the presence of the default hash implementation (object.__hash__), it is now possible |