Are routine objects guaranteed mutable & with dictionary?

Alf P. Steinbach alfps at start.no
Fri Dec 4 05:03:22 EST 2009


Is this guaranteed to work in Python 3.x?


 >>> def foo(): pass
...
 >>> foo.blah = 222
 >>> foo.blah
222
 >>> _


Cheers,

- Alf



More information about the Python-list mailing list