##// END OF EJS Templates
qtconsole: wrap argument list in tooltip to match width of text body...
qtconsole: wrap argument list in tooltip to match width of text body previously, a function with a long argument list would produce a very wide tooltip, hurting readability. Since the width of the docstring body is chosen by the developer whereas the formatting of the argument list is currently not, it's reasonable to wrap the argument list width to the maximum of a) 80 characters, or b) maximum length of a line in the docstring body. This improved readability, without unduly affecting the appearence of the docstring body itself. closes #2661

File last commit:

r8667:a846eadb
r8841:2b49db11
Show More
__main__.py
14 lines | 500 B | text/x-python | PythonLexer
Bradley M. Froehle
Allow starting IPython as `python -m IPython`....
r8667 # encoding: utf-8
"""Terminal-based IPython entry point.
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2012, IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
from IPython.frontend.terminal.ipapp import launch_new_instance
launch_new_instance()