[Python-ideas] breaking out of module execution

Jim Jewett jimjjewett at gmail.com
Fri Apr 27 15:19:26 CEST 2012


On Wed, Apr 25, 2012 at 12:58 PM, Steven D'Aprano <steve at pearwood.info> wrote:

> Why would hundreds of lines suddenly become
> unreadable and hard to edit because they have a little bit of leading
> whitespace in front of them?

A single indent isn't that bad for reading or editing; the problem is
with skimming.

def X...


class A....

ZZZ= ....


Anything not on the far left is part of the undifferentiated "...".

-jJ



More information about the Python-ideas mailing list