Formats docstrings to follow PEP 257.