Spelling mistakes!

KraftDiner bobrien18 at yahoo.com
Fri Jan 6 16:30:41 CET 2006


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?




More information about the Python-list mailing list