Laurent Pointal wrote:

(oups)
> Take care of indent:
> 
> def f(x):
>     a = 5
>     """an correctly indented expression to be
>     inside the function"""
>     return a * x

Here only the first indent of """ at beginning of the string to be aligned 
to function bloc is important, remaining content of the string can be 
indented or not.



-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to