Spelling mistakes!
Steve Holden
steve at holdenweb.com
Mon Jan 9 19:44:25 EST 2006
KraftDiner wrote:
> I've spent hours trying to find a bug that was a simple spelling
> mistake.
>
> in an init method I declare a variable self.someLongName
>
> later in a different method of the class I use
> self.sumLongName
> Now I really meant self.someLongName.
> In fact I don't want a variable called sumLongName.
> Frankly how are you ever to know if this type of error is occuring?
>
pychecker
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/
More information about the Python-list
mailing list