[Python-Dev] New syntax for 'dynamic' attribute access

Armin Rigo arigo at tunes.org
Tue Feb 13 23:18:55 CET 2007


Hi,

On Mon, Feb 12, 2007 at 12:38:27AM -0700, Neil Toronto wrote:
>    obj.*str_expression


    x = *('variable%d' % n)

    f(a, b, *('keyword%d' % n) = c)

    class *('33strangename'):
        pass

    def *(funcname)(x, y, *(argname), *args, **kwds):
        pass

    import *modname as mymodule



Sorry for the noise,

Armin


More information about the Python-Dev mailing list