[Python-ideas] Where-statement (Proposal for function expressions)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jul 17 04:54:35 CEST 2009


Daniel Stutzbach wrote:

> I think that's why the "where" clause is being proposed: because there's no
> construct to create a new scope without defining a new class or function.

No, the reason is to provide a way to put
implementation details in a convenient place
after where they're used, but not too far
away.

-- 
Greg



More information about the Python-ideas mailing list