summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-06-29 09:57:10 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-06-29 09:57:10 (GMT)
commitbda9c3eae3ad16e43145599ac6359bfdcaf1fd4a (patch)
treeeb748a2af8a13b4d46b026f29482198094e8726b /Doc
parent891a1f86d415779cf67ca23e626a868e586feb05 (diff)
downloadcpython-bda9c3eae3ad16e43145599ac6359bfdcaf1fd4a.zip
cpython-bda9c3eae3ad16e43145599ac6359bfdcaf1fd4a.tar.gz
cpython-bda9c3eae3ad16e43145599ac6359bfdcaf1fd4a.tar.bz2
Fix the indentation in the documentation of bin() and hash() (GH-7998)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 7b1b0ca..f5427a4 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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])