By default, the first line in the body of the method is used as its docstring (or documentation line). Python will use this when called for this method help().
def foo(bar):
''' Takes bar and does
some things to it '''
return bar
help(foo)
foo(bar)
Takes bar and does
some things to it
, , PEP-258 .