diff --git a/IPython/Extensions/ipy_editors.py b/IPython/Extensions/ipy_editors.py index 09f940e..ca96f54 100644 --- a/IPython/Extensions/ipy_editors.py +++ b/IPython/Extensions/ipy_editors.py @@ -23,7 +23,7 @@ def install_editor(run_template, wait = False): the call. """ - def call_editor(self, file, line): + def call_editor(self, file, line=0): if line is None: line = 0 cmd = itplns(run_template, locals())