I have a module, errors.py in which several global constants are defined (note: I understand that Python doesn\'t have constants, but I\'ve defined them by conv
errors.py
You can use hash + colon to document attributes (class or module level).
#: Use this content as input for moo to do bar MY_CONSTANT = "foo"
This will be picked up by some document generators.
An example here, could not find a better one: Sphinx document module properties