This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients akitada, r.david.murray
Date 2014-10-24.15:20:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414164018.51.0.898438491384.issue22715@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-10-24 15:20:18r.david.murraysetrecipients: + r.david.murray, akitada
2014-10-24 15:20:18r.david.murraysetmessageid: <1414164018.51.0.898438491384.issue22715@psf.upfronthosting.co.za>
2014-10-24 15:20:18r.david.murraylinkissue22715 messages
2014-10-24 15:20:18r.david.murraycreate