mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Document new directive.
This commit is contained in:
parent
a054722778
commit
d032912ac1
1 changed files with 18 additions and 0 deletions
|
|
@ -626,6 +626,24 @@ units as well as normal text:
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
.. describe:: impl-detail
|
||||||
|
|
||||||
|
This directive is used to mark CPython-specific information. Use either with
|
||||||
|
a block content or a single sentence as an argument, i.e. either ::
|
||||||
|
|
||||||
|
.. impl-detail::
|
||||||
|
|
||||||
|
This describes some implementation detail.
|
||||||
|
|
||||||
|
More explanation.
|
||||||
|
|
||||||
|
or ::
|
||||||
|
|
||||||
|
.. impl-detail:: This shortly mentions an implementation detail.
|
||||||
|
|
||||||
|
"\ **CPython implementation detail:**\ " is automatically prepended to the
|
||||||
|
content.
|
||||||
|
|
||||||
.. describe:: seealso
|
.. describe:: seealso
|
||||||
|
|
||||||
Many sections include a list of references to module documentation or
|
Many sections include a list of references to module documentation or
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue