See Sphinx's [autoattribute] (http://sphinx-doc.org/ext/autodoc.html#directive-autoattribute) feature.
You can set docstrings for class attributes like this:

```python
#: Node addition flag.
ADD = 0
#: Node deletion flag.
DELETE = 1
#: Node insertion flag.
INSERT = 2
```