]> granicus.if.org Git - python/commitdiff
Fix the indentation in the documentation of bin() and hash() (GH-7998)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 29 Jun 2018 10:17:43 +0000 (03:17 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Jun 2018 10:17:43 +0000 (03:17 -0700)
(cherry picked from commit bda9c3eae3ad16e43145599ac6359bfdcaf1fd4a)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Doc/library/functions.rst

index f2f49eada8415b6e47c552f19d29b1c6ccb655fc..574f35a675602f88efeefca5fcc69a20fdf31e5e 100644 (file)
@@ -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])
@@ -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])