]> granicus.if.org Git - python/commitdiff
Fix the indentation in the documentation of bin() and hash() (GH-7998)
authorAndrés Delfino <adelfino@gmail.com>
Fri, 29 Jun 2018 09:57:10 +0000 (06:57 -0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 29 Jun 2018 09:57:10 +0000 (12:57 +0300)
Doc/library/functions.rst

index 7b1b0caa11abbe14e5e1f41b3c1fd77207da799c..f5427a4072a802c97c0954187630beef4a432f88 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])
@@ -646,11 +646,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])