From: Berker Peksag <berker.peksag@gmail.com>
Date: Fri, 16 Oct 2015 08:22:50 +0000 (+0300)
Subject: Issue #25418: Fix markup in object.__hash__ documentation
X-Git-Tag: v3.5.1rc1~156^2
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edb9111d41edc9df3ac5727f8007c5d65f7e4bd3;p=python

Issue #25418: Fix markup in object.__hash__ documentation

Patch by TAKASE Arihiro.
---

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 4e84d5e58e..1560ad0d32 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1331,7 +1331,7 @@ Basic customization
    :meth:`__hash__` method of a class is ``None``, instances of the class will
    raise an appropriate :exc:`TypeError` when a program attempts to retrieve
    their hash value, and will also be correctly identified as unhashable when
-   checking ``isinstance(obj, collections.Hashable``).
+   checking ``isinstance(obj, collections.Hashable)``.
 
    If a class that overrides :meth:`__eq__` needs to retain the implementation
    of :meth:`__hash__` from a parent class, the interpreter must be told this