module documentation
Attribute docstrings parsing.
| Class | |
An ast.NodeVisitor that collects attribute docstrings. |
| Function | add |
Add attribute docstrings found in the object's source code. |
| Function | ast |
Return name, type and default if the given node is an attribute. |
| Function | ast |
Return the constant's value if the given node is a constant. |
| Function | ast |
Return True if the given node is a literal string. |
| Function | ast |
Convert the AST node to source code as a string. |
Add attribute docstrings found in the object's source code.
| Parameters | |
obj:type | ModuleType | object from which to parse attribute docstrings |
docstring:Docstring | Docstring object where found attributes are added |
| Returns | |
| list with names of added attributes |