[ZDP] BackTalk to Document Zope Developer's Guide (2.4
edition)/Acquisition
webmaster at zope.org
webmaster at zope.org
Fri Nov 21 05:04:45 EST 2003
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZDG/current/Acquisition.stx#2-27
---------------
If in the example above suppose both 'a' and 'b' have an
'color' attribute::
a=C("a")
a.color="green"
a.b=C("b")
a.b.color="red"
a.x=C("x")
print a.b.x.color # prints green
% Anonymous User - Nov. 21, 2003 5:04 am:
what i print is :
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: x
More information about the ZDP
mailing list