comparison learner.py @ 211:bd728c83faff

in __get__, problem if the i.stop was None, i being the slice, added one line replacing None by the len(self)
author Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca>
date Wed, 21 May 2008 17:39:30 -0400
parents 50a8302addaf
children 14b9779622f9
comparison
equal deleted inserted replaced
210:ffd50efefb70 211:bd728c83faff
1
1 2
2 from exceptions import * 3 from exceptions import *
3 from dataset import AttributesHolder 4 from dataset import AttributesHolder
4 5
5 class LearningAlgorithm(object): 6 class LearningAlgorithm(object):