Fix docstring formatting when multiple definition found