Re: error when calling method of class

2007-06-08 Thread Andre Engels
2007/6/8, Sean Farrow <[EMAIL PROTECTED]>: > Hi: > I have defined a class in that class is a method defined as follows: > def splitTime(n): > seconds =float(n) > I call the method in another procedure as follows: > sefl.splitTime(200) > the traceback states that splitTime takes one argument two giv

error when calling method of class

2007-06-08 Thread Sean Farrow
Hi: I have defined a class in that class is a method defined as follows: def splitTime(n): seconds =float(n) I call the method in another procedure as follows: sefl.splitTime(200) the traceback states that splitTime takes one argument two given. why is this occuring? if I try calling it like: spl