3 Oct
2000
3 Oct
'00
12:52 p.m.
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