##// END OF EJS Templates
updated magic_history docstring
Aron Ahmadia -
Show More
@@ -717,9 +717,7 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 -> print at most 40 inputs (some may be multi-line)\\
721 %history n -> print at most n inputs\\
722 %history n1 n2 -> print inputs between n1 and n2 (n2 not included)\\
720 %history -> prints all history from this session
723 721
724 722 By default, input history is printed without line numbers so it can be
725 723 directly pasted into an editor. Use -n to show them.
@@ -772,9 +770,10 b" def magic_history(self, parameter_s = ''):"
772 770 --------
773 771 ::
774 772
775 In [6]: %hist -n 4 6
773 In [6]: %hist -n 4-6
776 774 4:a = 12
777 775 5:print a**2
776 6:%hist -n 4-6
778 777
779 778 """
780 779
General Comments 0
You need to be logged in to leave comments. Login now