mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
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. ........
This commit is contained in:
parent
0c474d01a1
commit
65fe25e597
5 changed files with 867 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue