Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4904)

Unified Diff: Doc/reference/datamodel.rst

Issue 15580: fix True/False/None reST markup
Patch Set: Created 9 months, 1 week ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/reference/compound_stmts.rst ('k') | Doc/reference/expressions.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- 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.
« no previous file with comments | « Doc/reference/compound_stmts.rst ('k') | Doc/reference/expressions.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7