You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / core / hooks / editor

function

IPython.core.hooks:editor

source: /IPython/core/hooks.py :54

Signature

def   editor ( self filename linenum = None wait = True )

Summary

Open the default editor at the given filename and linenumber.

Extended Summary

This is IPython's default editor hook, you can use it as an example to write your own modified one. To set your own editor function as the new editor hook, call ip.set_hook('editor',yourfunc).

Aliases

  • IPython.core.hooks.editor