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/tutorial/rst/learners-in-python.rst

    r9386 r9878  
    8282   class Learner(object): 
    8383       def __new__(cls, examples=None, name='discretized bayes', **kwds): 
    84            learner = object.__new__(cls, **kwds) 
     84           learner = object.__new__(cls) 
    8585           if examples: 
    8686               learner.__init__(name) # force init 
Note: See TracChangeset for help on using the changeset viewer.