[Python-ideas] Statement local functions and classes (aka PEP 3150 is dead, say 'Hi!' to PEP 403)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Oct 14 09:03:55 CEST 2011


Ron Adam wrote:

> Class's are constructed top down.  You create the framework and then
> fill in the parts.

Actually, they're not -- the class object is created
*after* executing the class body! So this is a (small)
precedent for writing things out of order when it
helps.

-- 
Greg



More information about the Python-ideas mailing list