[Zope] 'self' in external methods

Andrew Kenneth Milton akm@mail.theinternet.com.au
Tue, 3 Oct 2000 22:35:05 +1000


+-------[ seb ]----------------------
| Hello,
| 
| Whenever I do a
| >  def play(self,sound):
| >    return sound

You don't define self as a parameter to an external method, so:

def play(sound):

will work fine in an external method.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|