Skip to content

Commit

Permalink
Revert Include params when calling instance in __new__ (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 24, 2020
1 parent fbaf861 commit 943043f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion param/parameterized.py
Expand Up @@ -2795,7 +2795,7 @@ def instance(self_or_cls,**params):

def __new__(class_,*args,**params):
# Create and __call__() an instance of this class.
inst = class_.instance(**params)
inst = class_.instance()
inst.param._set_name(class_.__name__)
return inst.__call__(*args,**params)

Expand Down

0 comments on commit 943043f

Please sign in to comment.