From a46fafd7e2e6000ec2a8273dfa3dcc05f0773d00 2014-03-28 16:26:01 From: Thomas Kluyver Date: 2014-03-28 16:26:01 Subject: [PATCH] Fix doctest --- diff --git a/IPython/core/history.py b/IPython/core/history.py index 285d218..da10813 100644 --- a/IPython/core/history.py +++ b/IPython/core/history.py @@ -808,8 +808,8 @@ def extract_hist_ranges(ranges_str): Examples -------- - >>> list(extract_input_ranges("~8/5-~7/4 2")) - [(-8, 5, None), (-7, 1, 4), (0, 2, 3)] + >>> list(extract_hist_ranges("~8/5-~7/4 2")) + [(-8, 5, None), (-7, 1, 5), (0, 2, 3)] """ for range_str in ranges_str.split(): rmatch = range_re.match(range_str)