This will basically result in hiding one of them by other, based on which statement gets executed later.
Also, this creates confusion while understanding what you really are trying to do there. Also, is the self.start variable really needed to be in the self object ? ? Looks like its local to the record() hence, you might just be able to use a local variable.
But, cant be sure as the code is a bit confusing as of now.
The
Recorder
class in the API has 2 differentself.start
being used.The 1st one is a method while the other one is a variable.
This will basically result in hiding one of them by other, based on which statement gets executed later. Also, this creates confusion while understanding what you really are trying to do there. Also, is the
self.start
variable really needed to be in theself
object ? ? Looks like its local to therecord()
hence, you might just be able to use a local variable. But, cant be sure as the code is a bit confusing as of now.