Guido van Rossum wrote:

> You *might* want
> to separate classes with two blank lines if the methods within them
> are separated by single blank lines, but even there it's probably
> overkill.

Lately I've taken to putting a separator like this
between consecutive class definitions of any substantial
size:

#-------------------------------------------------------

I find it helps a lot when I'm skimming through looking
for the beginnings of classes.

Not suggesting this should go in PEP 8, though!

Greg
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to