[Python-ideas] relaxing keyword usage restrictions

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Sep 7 03:13:49 CEST 2011


Spectral One wrote:

> class thingy:
>     thingy.class="example of possible syntax"

That wouldn't work, BTW, because the class name is not bound
until after the class body code has been executed.

-- 
Greg



More information about the Python-ideas mailing list