diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2015-10-10 10:36:22 +0000 |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2015-10-10 10:36:22 +0000 |
| commit | d21e0b52f1421e253ecdc583faf5743133cac605 (patch) | |
| tree | eba56801810249775eda33388a92bf6d3c8e69e0 /Doc/reference/datamodel.rst | |
| parent | cfad54344f570c1e833d92289ac571da7315b164 (diff) | |
| download | cpython-git-d21e0b52f1421e253ecdc583faf5743133cac605.tar.gz | |
Issue #25161: Add full stops in documentation; patch by Takase Arihiro
Diffstat (limited to 'Doc/reference/datamodel.rst')
| -rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 4acf13e97b..4e84d5e58e 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1310,7 +1310,7 @@ Basic customization object's :meth:`__hash__` must interoperate on builds of different bit sizes, be sure to check the width on all supported builds. An easy way to do this is with - ``python -c "import sys; print(sys.hash_info.width)"`` + ``python -c "import sys; print(sys.hash_info.width)"``. If a class does not define an :meth:`__eq__` method it should not define a :meth:`__hash__` operation either; if it defines :meth:`__eq__` but not |
