##// END OF EJS Templates
Vendor shutil.get_terminal_size....
Vendor shutil.get_terminal_size. Use the vendored version only if import error. That should fix import error for many users. Closes #9815. This is only against the 5.x branch as this is in the stdlib on Python 3

File last commit:

r10447:853e909f
r23688:e50d8111
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 *