py:decorator clarification

This commit is contained in:
Georg Brandl
2013-11-25 20:43:23 +01:00
parent 246e8d0de1
commit 5dedeb30b0

View File

@@ -261,6 +261,8 @@ The following directives are provided for module and class contents:
Set name of the decorated function to *name*.
(as opposed to ``.. py:decorator:: removename(func)``.)
There is no ``py:deco`` role to link to a decorator that is marked up with
this directive; rather, use the :rst:role:`py:func` role.