python-2.1 function attributes
Aahz Maruch
aahz at panix.com
Sat Jan 27 23:41:54 EST 2001
In article <mailman.980642436.24511.python-list at python.org>,
Tim Peters <tim.one at home.com> wrote:
>[Aahz Maruch]
>> One thing I'm not clear on from all this discussion is whether one
>> can do this:
>>
>> def f():
>> f.a = 1
>
>Sure, but there's no magic here:
Yes. I'm not the kind of evil, twisted person who'd do something like
that, but I'm sure *someone* here is.
--
--- 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