Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/feature/imputation.py

    r10580 r11459  
    1818 
    1919class ImputeLearner(orange.Learner): 
    20     def __new__(cls, data = None, weight_id = 0, **keyw): 
     20    def __new__(cls, data=None, weight_id=0, **keyw): 
    2121        self = orange.Learner.__new__(cls, **keyw) 
    2222        self.dont_impute_classifier = False 
    2323        self.__dict__.update(keyw) 
    24         if data: 
     24        if data is not None: 
    2525            return self.__call__(data, weight_id) 
    2626        else: 
Note: See TracChangeset for help on using the changeset viewer.