Style for docstring

Michael F. Stemper michael.stemper at gmail.com
Sat Apr 23 10:50:47 EDT 2022


On 22/04/2022 16.12, alister wrote:
> On Fri, 22 Apr 2022 14:36:27 -0500, Michael F. Stemper wrote:
> 
>> I'm writing a function that is nearly self-documenting by its name,
>> but still want to give it a docstring. Which of these would be best from
>> a stylistic point of view:


> for guidance I would sugest Pep257 as a start point
> which would suggest "Return True if permutation is even"

I'll take a look at the PEP. Thanks.


-- 
Michael F. Stemper
This email is to be read by its intended recipient only. Any other party
reading is required by the EULA to send me $500.00.


More information about the Python-list mailing list