mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
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:
parent
ec9a5f6399
commit
8ab3a1d735
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue