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/selection.py

    r9676 r9878  
    290290 
    291291        if data is None: 
    292             self = object.__new__(cls, measure=measure, threshold=threshold) 
     292            self = object.__new__(cls) 
    293293            return self 
    294294        else: 
     
    332332 
    333333        if data is None: 
    334             self = object.__new__(cls, measure=measure, n=n) 
     334            self = object.__new__(cls) 
    335335            return self 
    336336        else: 
     
    368368 
    369369        if data is None: 
    370             self = object.__new__(cls, measure=measure, margin=margin) 
     370            self = object.__new__(cls) 
    371371            return self 
    372372        else: 
     
    414414 
    415415        if data is None: 
    416             self = object.__new__(cls, baseLearner, filter=filter, name=name) 
     416            self = object.__new__(cls) 
    417417            return self 
    418418        else: 
Note: See TracChangeset for help on using the changeset viewer.