Basic inheritance question
Jeroen Ruigrok van der Werven
asmodai at in-nomine.org
Sat Jan 5 05:37:51 EST 2008
-On [20080105 11:36], MartinRinehart at gmail.com (MartinRinehart at gmail.com) wrote:
>class code:
> def __init__( self, start, stop ):
> startLoc = start
> stopLoc = stop
Shouldn't this be:
self.startLoc = start
self.stopLoc = stop
?
--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Open your Heart and push the limits...
More information about the Python-list
mailing list