Skip to content

Commit

Permalink
Finish banner with BDFL Authoritative decision.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Aug 25, 2016
1 parent 1e85c92 commit 1a2706e
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions IPython/core/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@
At your system command line, type 'ipython -h' to see the command line
options available. This document only describes interactive features.
GETTING HELP
------------
Within IPython you have various way to access help:
? -> Introduction and overview of IPython's features (this screen).
%quickref -> Quick reference of all IPython specif syntax and magics.
object? -> Details about 'object', use 'object??' for extra details.
help -> Access Python's own help system, using 'help(object)'.
If you are in terminal IPython you can quit this screen by pressing `q`.
MAIN FEATURES
-------------
Expand Down Expand Up @@ -329,16 +345,9 @@
"""

quick_guide = "Type '?', '%quickref' or 'help' for help, and 'x?/x??' for object details\n"

gui_note = """\
%guiref -> A brief reference about the graphical user interface.
"""

default_banner_parts = ["Python %s\n"%sys.version.split("\n")[0],
"Type 'copyright', 'credits' or 'license' for more information\n" ,
'IPython {version} -- An enhanced Interactive Python.\n'.format(version=release.version),
quick_guide
"IPython {version} -- An enhanced Interactive Python. Type '?' for help.\n".format(version=release.version),
]

default_banner = ''.join(default_banner_parts)

0 comments on commit 1a2706e

Please sign in to comment.