File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -544,8 +544,8 @@ The directives are:
544544
545545 Set name of the decorated function to *name*.
546546
547- There is no `` deco `` role to link to a decorator that is marked up with
548- this directive; rather, use the ``:func : `` role.
547+ To link to a decorator that is marked up with this directive,
548+ use the ``:deco : `` role.
549549
550550.. describe :: class
551551
@@ -806,6 +806,10 @@ a matching identifier is found:
806806
807807 The name of an exception. A dotted name may be used.
808808
809+ .. describe :: deco
810+
811+ The name of a decorator. A dotted name may be used.
812+
809813The name enclosed in this markup can include a module name and/or a class name.
810814For example, ``:func:`filter` `` could refer to a function named ``filter `` in
811815the current module, or the built-in function of that name. In contrast,
You can’t perform that action at this time.
0 commit comments