Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/bayes.py

    r10580 r11459  
    4545    """ 
    4646     
    47     def __new__(cls, data = None, weight_id = 0, **argkw): 
     47    def __new__(cls, data=None, weight_id=0, **argkw): 
    4848        self = Orange.classification.Learner.__new__(cls, **argkw) 
    49         if data: 
     49        if data is not None: 
    5050            self.__init__(**argkw) 
    5151            return self.__call__(data, weight_id) 
Note: See TracChangeset for help on using the changeset viewer.