Have a look at PEP 257 regarding the formatting of docstrings. In short, """ is conventional, as is no leading whitespace.