Andrew Kenneth Milton wrote:
> 
> +-------[ 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.

It's not as simple as that. The mechnism involved here is complex and
arguably broken.
This is becoming a FAQ, see the mailing list archives for previous
versions of this discussion which will provide all the detail.

cheers,

Chris

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

Reply via email to