Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions documentation/markup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ The directives are:

Set name of the decorated function to *name*.

There is no ``deco`` role to link to a decorator that is marked up with
this directive; rather, use the ``:func:`` role.
To link to a decorator that is marked up with this directive,
use the ``:deco:`` role.

.. describe:: class

Expand Down Expand Up @@ -806,6 +806,10 @@ a matching identifier is found:

The name of an exception. A dotted name may be used.

.. describe:: deco

The name of a decorator. A dotted name may be used.

The name enclosed in this markup can include a module name and/or a class name.
For example, ``:func:`filter``` could refer to a function named ``filter`` in
the current module, or the built-in function of that name. In contrast,
Expand Down
Loading