[Python-checkins] Fix the indentation in the documentation of bin() and hash() (GH-7998)
Miss Islington (bot)
webhook-mailer at python.org
Fri Jun 29 06:16:29 EDT 2018
https://github.com/python/cpython/commit/d0b442803ad4ba66b0bdb3cf183179d4c9a56f06
commit: d0b442803ad4ba66b0bdb3cf183179d4c9a56f06
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018年06月29日T03:16:26-07:00
summary:
Fix the indentation in the documentation of bin() and hash() (GH-7998)
(cherry picked from commit bda9c3eae3ad16e43145599ac6359bfdcaf1fd4a)
Co-authored-by: Andrés Delfino <adelfino at gmail.com>
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 7b1b0caa11ab..f5427a4072a8 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])
More information about the Python-checkins
mailing list