[Python-Dev] Using and binding relative names (was Re: PEP for Better Control of Nested Lexical Scopes)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 22 07:45:29 CET 2006


Phillip J. Eby wrote:

>    def incrementer(val):
>        def inc():
>            .val += 1
>            return .val
>        return inc

-1, too obscure.

--
Greg


More information about the Python-Dev mailing list