##// END OF EJS Templates
Backport PR #6102: Add newline if missing to end of script magic cell...
Backport PR #6102: Add newline if missing to end of script magic cell The script magic %%cmd fails in IPython notebook if trailing newlines are omitted. In IPython console, %%cmd behaves correctly: ``` In [1]: %%cmd ...

File last commit:

r10447:853e909f
r17362:4baf299e
Show More
display.py
16 lines | 638 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.lib.display import *