##// END OF EJS Templates
fix %edit foo for interactively defined variables...
fix %edit foo for interactively defined variables Effectively handles cases such as: In [1]: def foo(): return 5 In [2]: %edit foo Where `%edit foo` effectively turns into `%edit 1` by parsing the `<ipython-input-NN-…>` fake filename.

File last commit:

r7721:5462c7ef
r8547:5f3d6e0d
Show More
display.py
17 lines | 676 B | text/x-python | PythonLexer
"""Public API for display tools in IPython.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2012 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.core.display import *
from IPython.core.displaypub import *
from IPython.lib.display import *