Document that True/False/None don’t use :keyword: in doc.

This was discussed some months ago on python-dev.  Having tons of links
to the definition of True would be annoying, contrary to links to e.g.
the nonlocal or with statements doc.
This commit is contained in:
Éric Araujo 2011-09-01 18:45:50 +02:00
parent ec9a5f6399
commit 8ab3a1d735

View file

@ -513,7 +513,10 @@ in a different style:
.. describe:: keyword
The name of a keyword in Python.
The name of a Python keyword. Using this role will generate a link to the
documentation of the keyword. ``True``, ``False`` and ``None`` do not use
this role, but simple code markup (````True````), given that they're
fundamental to the language and should be known to any programmer.
.. describe:: mailheader