Jeffrey P Shell wrote:
> 
> _getOb and _setOb are for placing subobjects somewhere besides attributes
> (which is the default implementation).
> 
> _getOb and friends are the default protocol that *SHOULD* be used by systems
> that change subobjects (ie - copy and paste).

Sorry, just thought of another coupla questions:

If x is an instance of my class, then:
If I do x.a = 1, is _setOb called?
If I do print x.a, is _getOb called?

cheers,

Chris

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to