Message229931
Yeah, on reflection (after I posted) I can see why people tend to leave out that blank line, because it is more parallel to not having a blank line after the 'def'. And I don't think I've ever seen anyone do the alternate version of keeping things parallel by putting a blank line before the docstring if the method has multiple sections, despite the recommendation in the PEP to do so.
However, you then need to delete the "if a method is written as a number of sections" sentence, since it has the same problem (it is recommending a blank line before the docstring, which nobody does...I didn't remember that recommendation at all myself). |
|
Date |
User |
Action |
Args |
2014-10-24 15:20:18 | r.david.murray | set | recipients:
+ r.david.murray, akitada |
2014-10-24 15:20:18 | r.david.murray | set | messageid: <1414164018.51.0.898438491384.issue22715@psf.upfronthosting.co.za> |
2014-10-24 15:20:18 | r.david.murray | link | issue22715 messages |
2014-10-24 15:20:18 | r.david.murray | create | |
|