summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-03 10:18:40 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-10-03 10:18:40 (GMT)
commit36cea39b225e9814abcebb0f96088cfdb5b9d36c (patch)
tree16b10a6e364567878a58b021c51f248415985c2d /Doc/library
parent7942e2e267fce0c32ea109ee11f9364b4fc3ca74 (diff)
downloadcpython-36cea39b225e9814abcebb0f96088cfdb5b9d36c.zip
cpython-36cea39b225e9814abcebb0f96088cfdb5b9d36c.tar.gz
cpython-36cea39b225e9814abcebb0f96088cfdb5b9d36c.tar.bz2
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/library')
-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 ef021dd..4816f53 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)