format docstring