##// END OF EJS Templates
first line is now a summary
Aron Ahmadia -
Show More
@@ -717,12 +717,13 b' def _format_lineno(session, line):'
717 717 def magic_history(self, parameter_s = ''):
718 718 """Print input history (_i<n> variables), with most recent last.
719 719
720 %history -> prints all history from this session
720 %history [-o -p -t -n] [-f filename] [range | -g pattern | -l number]
721 721
722 722 By default, input history is printed without line numbers so it can be
723 723 directly pasted into an editor. Use -n to show them.
724 724
725 Ranges of history can be indicated using the syntax:
725 By default, all input history from the current session is displayed.
726 Ranges of history can be indicated using the syntax:
726 727 4 : Line 4, current session
727 728 4-6 : Lines 4-6, current session
728 729 243/1-5: Lines 1-5, session 243
General Comments 0
You need to be logged in to leave comments. Login now