On Jan 5, 10:31 am, [EMAIL PROTECTED] wrote:
> ...
> class code:
>     def __init__( self, start, stop ):
>         startLoc = start
>         stopLoc = stop
> ...

You've forgotten the explicit self.
     def __init__( self, start, stop ):
         self.startLoc = start
         self.stopLoc = stop

--
Paul Hankin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to