Start with a method with a doc string. def foo(): """ (Text) """ When you format the docstring with ctrl+j, it does this: def foo(): """ (Text) """ Somewhat annoying.