Skip to content

Commit

Permalink
Fix the indentation in the documentation of bin() and hash() (GH-7998)
Browse files Browse the repository at this point in the history
(cherry picked from commit bda9c3e)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
  • Loading branch information
miss-islington and andresdelfino committed Jun 29, 2018
1 parent 00e0524 commit a730279
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Doc/library/functions.rst
Expand Up @@ -98,7 +98,7 @@ are always available. They are listed here in alphabetical order.
>>> f'{14:#b}', f'{14:b}'
('0b1110', '1110')

See also :func:`format` for more information.
See also :func:`format` for more information.


.. class:: bool([x])
Expand Down Expand Up @@ -632,11 +632,11 @@ are always available. They are listed here in alphabetical order.
dictionary lookup. Numeric values that compare equal have the same hash
value (even if they are of different types, as is the case for 1 and 1.0).

.. note::
.. note::

For objects with custom :meth:`__hash__` methods, note that :func:`hash`
truncates the return value based on the bit width of the host machine.
See :meth:`__hash__` for details.
For objects with custom :meth:`__hash__` methods, note that :func:`hash`
truncates the return value based on the bit width of the host machine.
See :meth:`__hash__` for details.

.. function:: help([object])

Expand Down

0 comments on commit a730279

Please sign in to comment.