A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1482/ below:

%history documentation out of date? · Issue #1482 · ipython/ipython · GitHub

In IPython/core/history.py:722

"""Print input history (_i<n> variables), with most recent last.

%history       -> print at most 40 inputs (some may be multi-line)\\
%history n     -> print at most n inputs\\
%history n1 n2 -> print inputs between n1 and n2 (n2 not included)\\

...

Ranges of history can be indicated using the syntax:
4      : Line 4, current session
4-6    : Lines 4-6, current session

...

Does the range syntax supercede the original syntax for history? Should these lines be removed?

%history n     -> print at most n inputs\\
%history n1 n2 -> print inputs between n1 and n2 (n2 not included)\\

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4