##// END OF EJS Templates
Fixed bug in ultratb.py and io.py....
Fixed bug in ultratb.py and io.py. Previously :class:`IPython.utils.io.Term` had a :meth:`Term.writeln` method that :mod:`ultratb.py` was using. But, when a real stream or files is used in :class:`IPython.utils.io.Term` it doesn't have this method, so we were getting an error when the IPython Sphinx directive was run. I removed this method and made :mod:`ultratb.py` use just ``write``.

File last commit:

r2216:5113ef3a
r2504:228b3b54
Show More
__init__.py
30 lines | 1.0 KiB | text/x-python | PythonLexer
#!/usr/bin/env python
# encoding: utf-8
"""
Extra capabilities for IPython
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2009 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.lib.inputhook import (
enable_wx, disable_wx,
enable_gtk, disable_gtk,
enable_qt4, disable_qt4,
enable_tk, disable_tk,
set_inputhook, clear_inputhook,
current_gui, spin,
appstart_qt4, appstart_wx,
appstart_gtk, appstart_tk
)
#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------