Re: 'classmethod' object has only read-only attributes
> u...@host:~> python ~/tmp/t.py > Traceback (most recent call last): > File "/home/user/tmp/t.py", line 1, in > class Foo(object): > File "/home/user/tmp/t.py", line 5, in Foo > bar.myattr='test' > TypeError: 'classmethod
'classmethod' object has only read-only attributes
/tmp/t.py", line 1, in class Foo(object): File "/home/user/tmp/t.py", line 5, in Foo bar.myattr='test' TypeError: 'classmethod' object has only read-only attributes (assign to .myattr) -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettl