diff options
-rw-r--r-- | Doc/library/functions.rst | 5 |
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) |