From 7bd3065c9eff5a01a25ff01aae7d72a67dc4ae78 2007-09-08 10:59:56 From: vivainio Date: 2007-09-08 10:59:56 Subject: [PATCH] default line is zero in call_editor! --- 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())