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