[Python-checkins] r75207 - in python/branches/py3k: Doc/library/functions.rst
mark.dickinson
python-checkins at python.org
Sat Oct 3 12:18:40 CEST 2009
Author: mark.dickinson
Date: Sat Oct 3 12:18:40 2009
New Revision: 75207
Log:
Merged revisions 75205 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75205 | mark.dickinson | 2009-10-03 11:14:34 +0100 (Sat, 03 Oct 2009) | 2 lines
Issue #7028: Add note to hex() builtin docs pointing to float.hex().
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Doc/library/functions.rst
Modified: python/branches/py3k/Doc/library/functions.rst
==============================================================================
--- python/branches/py3k/Doc/library/functions.rst (original)
+++ python/branches/py3k/Doc/library/functions.rst Sat Oct 3 12:18:40 2009
@@ -489,6 +489,11 @@
expression. If *x* is not a Python :class:`int` object, it has to define an
:meth:`__index__` method that returns an integer.
+ .. note::
+
+ To obtain a hexadecimal string representation for a float, use the
+ :meth:`float.hex` method.
+
.. function:: id(object)
More information about the Python-checkins
mailing list