reformat a docstring