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
  • docs/reference/rst/code/selection-bayes.py

    r9823 r9878  
    1010class BayesFSS(object): 
    1111    def __new__(cls, examples=None, **kwds): 
    12         learner = object.__new__(cls, **kwds) 
     12        learner = object.__new__(cls) 
    1313        if examples: 
    1414            return learner(examples) 
Note: See TracChangeset for help on using the changeset viewer.