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/code/bayes.py

    r9374 r9878  
    77class Learner(object): 
    88    def __new__(cls, examples=None, **kwds): 
    9         learner = object.__new__(cls, **kwds) 
     9        learner = object.__new__(cls) 
    1010        if examples: 
    1111            learner.__init__(**kwds) 
Note: See TracChangeset for help on using the changeset viewer.