BackTalk to Document The Zope Book (2.6 Edition)/Acquisition

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/Acquisition.stx#2-4

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

    Here is an example of calling methods on an instance of the
    above-defined Sub class using the Python interpreter::

      >>> instance = Sub()
      >>> instance.amethod()
      I am the 'amethod' method of the Sub class
      >>> instance.anothermethod()
      I am the 'anothermethod' method of the SuperA class
      >>> instance.athirdmethod()
      I am the 'anothermethod' method of the SuperB class

      % Anonymous User - Jan. 12, 2004 11:09 pm:
       If the athirdmethod() in SuperB is adjusted per the suggestion that it output that it is 'athirdmethod'
       instead of 'anothermethod', this output should probably be updated to reflect that as well.

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.