From e91ef370ddee82ca27f3887813ce5aa5d6ac8503 Mon Sep 17 00:00:00 2001 From: MinRK Date: Sun, 16 Feb 2014 15:17:23 -0800 Subject: [PATCH] remove no-op adding abbreviations from always-empty dict --- IPython/html/widgets/interaction.py | 1 - 1 file changed, 1 deletion(-) diff --git a/IPython/html/widgets/interaction.py b/IPython/html/widgets/interaction.py index eb12ca10c..cb0c85e72 100644 --- a/IPython/html/widgets/interaction.py +++ b/IPython/html/widgets/interaction.py @@ -188,7 +188,6 @@ def interactive(__interact_f, **kwargs): getcallargs(f, **{n:v for n,v,_ in new_kwargs}) # Now build the widgets from the abbreviations. kwargs_widgets.extend(_widgets_from_abbreviations(new_kwargs)) - kwargs_widgets.extend(_widgets_from_abbreviations(sorted(kwargs.items(), key = lambda x: x[0]))) # This has to be done as an assignment, not using container.children.append, # so that traitlets notices the update. We skip any objects (such as fixed) that