doc: Add a note for var, ivar and cvar

This commit is contained in:
Takeshi KOMIYA 2016-12-17 14:46:39 +09:00
parent 3b9d83e15e
commit 1ccfb9736b

View File

@ -318,6 +318,11 @@ are recognized and formatted nicely:
* ``returns``, ``return``: Description of the return value.
* ``rtype``: Return type. Creates a link if possible.
.. note::
In current release, all ``var``, ``ivar`` and ``cvar`` are represented as "Variable".
There is no difference at all.
The field names must consist of one of these keywords and an argument (except
for ``returns`` and ``rtype``, which do not need an argument). This is best
explained by an example::