PEP318: property as decoration

Sean Ross frobozz_electric at hotmail.com
Thu Jun 12 11:48:03 EDT 2003


"Sean Ross" <frobozz_electric at hotmail.com> wrote in message news:bca6or$rg9>
> f()
> print f.g
>
> """OUTPUT
> ffffff
> f
> gggggg
> g
> <function g at 0x00961C70>
> """

Although, you can't do this:

f.g()

so, looks like this idea doesn't pan out...oh well...







More information about the Python-list mailing list