[Python-ideas] Assignment decorators (Re: The Descriptor Protocol...)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 8 23:35:33 CET 2011


Raymond Hettinger wrote:

>     a := gizmo(arg1, arg2)

I thought about that, but I already have another secret
plan that I'd like to reserve := for.

Also it doesn't provide any clue that naming is involved,
as 'def' would.

-- 
Greg



More information about the Python-ideas mailing list