##// END OF EJS Templates
Fix: longest_substr([]) -> ''...
Fix: longest_substr([]) -> '' Previously the algorithm used to find the longest common starting substring unintentionally raised an error when it was called on an empty list.

File last commit:

r7721:5462c7ef
r8147:da6e82b3
Show More
display.py
17 lines | 676 B | text/x-python | PythonLexer
Fernando Perez
Add top-level display module for public api.
r7721 """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 *