Hello,
I often use docstrings like this:
def access(self, inode, mode, ctx, get_sup_gids):
'''Check if requesting process has `mode` rights on `inode`.
[more stuff]
'''
The autodoc module chokes on this, because 'mode' and 'inode' are not
python functions (I have set the default role to 'py:obj').
What role should I use when referring to function parameters in the
docstring?
Thanks,
-Nikolaus
--
»Time flies like an arrow, fruit flies like a Banana.«
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.