def oedit(self, name):
    command = ("from spyderlib.widgets.objecteditor import oedit; oedit('%s', modal=False, namespace=locals());" % name)
    self.shellwidget.send_to_process(command)
def oedit(self, name):
    command = ("from spyderlib.widgets.objecteditor import oedit; oedit('%s', modal=False, namespace=locals());" % name)
    self.shellwidget.send_to_process(command)