export.py ported to napoleon/google style docstrings.