The idea behind docstring is to give the user a general overview of what happens and goes out, without saying too much about how this happens. In this case:
def foo(a):
"""Take a number a and return its value incremented by 1."""
return a + 1
For a less trivial example, I like the one found in Dive Into Python for documenting functions:
def build_connection_string(params):
"""Build a connection string from a dictionary of parameters.
Return string."""
, -. , docstring , ( , ) , ( ).