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/classification/logreg.py

    r9818 r9878  
    195195class LogRegLearnerGetPriors(object): 
    196196    def __new__(cls, instances=None, weightID=0, **argkw): 
    197         self = object.__new__(cls, **argkw) 
     197        self = object.__new__(cls) 
    198198        if instances: 
    199199            self.__init__(**argkw) 
     
    873873class StepWiseFSSFilter(object): 
    874874    def __new__(cls, instances=None, **argkw): 
    875         self = object.__new__(cls, **argkw) 
     875        self = object.__new__(cls) 
    876876        if instances: 
    877877            self.__init__(**argkw) 
Note: See TracChangeset for help on using the changeset viewer.