R. David Murray added the comment: I follow this recommendation. I'm sure there are many classes in the stdlib that do not follow this convention, since much of the stdlib was written before PEP8, and we don't go back and do changesets just to "fix" PEP8 non-conformance in the stdlib. But this is the preferred style, and new code in the stdlib should follow it. Whether anyone else does is up to them.
(For that matter, there are a lot of classes in the stdlib, especially the test suite, where the first 'def' follows the class line with no space in between, and I wince every time I read such code :) ---------- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22715> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com