Topic on Manual talk:Coding conventions/Python

Docstrings and function annotation

3
André Costa (WMSE) (talkcontribs)

The formatting of the example looks to be off (compared to PEP 257).

The first line should end in a full stop. Subsequent lines should be left-aligned with the """.

Bináris (talkcontribs)

You are right, I corrected it.

Lokal Profil (talkcontribs)

I also added a linebreak. Since it is not a one-line docstrings.

Reply to "Docstrings and function annotation"