| --- a/Doc/reference/datamodel.rst |
| +++ b/Doc/reference/datamodel.rst |
| @@ -1286,7 +1286,7 @@ |
| of :meth:`__hash__` from a parent class, the interpreter must be told this |
| explicitly by setting ``__hash__ = <ParentClass>.__hash__``. Otherwise the |
| inheritance of :meth:`__hash__` will be blocked, just as if :attr:`__hash__` |
| - had been explicitly set to :const:`None`. |
| + had been explicitly set to ``None``. |
| .. note:: |
| @@ -2072,7 +2072,7 @@ |
| Exit the runtime context related to this object. The parameters describe the |
| exception that caused the context to be exited. If the context was exited |
| - without an exception, all three arguments will be :const:`None`. |
| + without an exception, all three arguments will be ``None``. |
| If an exception is supplied, and the method wishes to suppress the exception |
| (i.e., prevent it from being propagated), it should return a true value. |