summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-03 10:19:21 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-10-03 10:19:21 (GMT)
commit149953afb89bc360c585c612d207c6cece451e22 (patch)
tree9e3d0844ba3867a98c666bbeea4dcd11f0225189 /Doc
parent305bfd3fd148d22f8d3fb5cf17d8dc517389618f (diff)
downloadcpython-149953afb89bc360c585c612d207c6cece451e22.zip
cpython-149953afb89bc360c585c612d207c6cece451e22.tar.gz
cpython-149953afb89bc360c585c612d207c6cece451e22.tar.bz2
Merged revisions 75207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75207 | mark.dickinson | 2009-10-03 11:18:40 +0100 (Sat, 03 Oct 2009) | 9 lines 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(). ........ ................
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 198ff7b..9cd2175 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -489,6 +489,11 @@ are always available. They are listed here in alphabetical order.
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)