Ignore:
Timestamp:
02/06/12 23:05:15 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Remove arguments from object.new calls. It gives a deprecation warning and has no effects: the arguments get passed anyway.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/feature/discretization.py

    r9857 r9878  
    144144    def __new__(cls, data=None, features=None, discretize_class=False, method=EqualFreq(n=3)): 
    145145        if data is None: 
    146             self = object.__new__(cls, features=features, discretize_class=discretize_class, method=method) 
     146            self = object.__new__(cls) 
    147147            return self 
    148148        else: 
Note: See TracChangeset for help on using the changeset viewer.