python-2.1 function attributes

Aahz Maruch aahz at panix.com
Sat Jan 27 18:53:39 EST 2001


In article <ul3snm8dfae.fsf at smaug.fsl.noaa.gov>,
Mike Romberg  <romberg at smaug.fsl.noaa.gov> wrote:
>
>  I've been messing around with python-2.1a1 and have discovered the
>new feature 'function attributes'.  

One thing I'm not clear on from all this discussion is whether one can
do this:

def f():
    f.a = 1
-- 
                      --- Aahz (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"I heard Commentary and Dissent had merged and formed Dysentary."



More information about the Python-list mailing list