I tried the following:

myobj=object()
myobj.newattr=5

results in:


Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
AttributeError: 'object' object has no attribute 'newattr'

Any idea?


Alain

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to