[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Acquisition

nobody@nowhere.com nobody@nowhere.com
Mon, 02 Sep 2002 12:38:03 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Acquisition.stx#2-22

---------------

    You can also manuallyset acquisition context using the '__of__'
    method. For example::

      from Acquisition import Implicit
      class C(Implicit): pass
      a=C()
      b=C()
      a.color="red"
      print b.__of__(a).color # prints red

      % Anonymous User - Sep. 2, 2002 12:38 pm:
       s/manuallyset/manually set/