##// END OF EJS Templates
finish removing *args support
MinRK -
Show More
@@ -201,13 +201,13 b' def interactive(__interact_f, **kwargs):'
201
201
202 # Build the callback
202 # Build the callback
203 def call_f(name, old, new):
203 def call_f(name, old, new):
204 container.args = []
204 container.kwargs = {}
205 for widget in kwargs_widgets:
205 for widget in kwargs_widgets:
206 value = widget.value
206 value = widget.value
207 container.kwargs[widget.description] = value
207 container.kwargs[widget.description] = value
208 if co:
208 if co:
209 clear_output(wait=True)
209 clear_output(wait=True)
210 container.result = f(*container.args, **container.kwargs)
210 container.result = f(**container.kwargs)
211
211
212 # Wire up the widgets
212 # Wire up the widgets
213 for widget in kwargs_widgets:
213 for widget in kwargs_widgets:
General Comments 0
You need to be logged in to leave comments. Login now