Python PEP: blank line after function definition?

Read Docstring Conventions.

It says that even if the function is really obvious you have to write a one-line docstring. And it says that:

There’s no blank line either before or after the docstring.

So I would code something like

def hello_function():
    """Return 'hello' string."""
    return 'hello'

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)