Python scoping

Boris Borcic borcis at geneva-link.ch
Tue Oct 24 04:25:47 EDT 2000


SuppamanX wrote:
> 
> I am
> accustomed to explicitly start and end my scopes with a braces. From a
> readability standpoint, it gets quite problematic for especially for some
> of the example code that I am trying to learn from.
> 
> Can someone clarify why there is no explicit end for scopes?
> (i.e. IFs, FORs, WHILEs, METHODs, etc...)

this tends to diminish the number of lines in a "scope", and thus
optimizes for the chance that both ends are simultaneously visible
on a single page, does it not ?

BB



More information about the Python-list mailing list