[Python-Dev] Property syntax

Samuele Pedroni pedronis@bluewin.ch
Mon, 3 Feb 2003 01:00:24 +0100


From: "Oren Tirosh" <oren-py-d@hishome.net>
> 
>     def F():
>         suite
> <=>
>     def F as function: 
>         suite
> <=>
>     F = function(CODE, globals(), 'F')
> 

function construction may need a set of cells to implement nested scopes.