[Zope-dev] External Method Missery

Steve Alexander steve@cat-box.net
Wed, 12 Jul 2000 13:54:13 +0100


Chris Withers wrote:
> 
> Shane Hathaway wrote:
> > that last algorithm falls to pieces.  The solution is to always provide
> > the "self" argument.
> 
> When calling or in the signature of your external method?

Both.

Declare it like this:

  def external_method(self, ...other args...):

Use it like this:
 
> <dtml-var "external_method(this(),...other args..."> ?

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net