Fix a Python 2 typo
This commit is contained in:
Terence Parr 2016-12-22 09:19:58 -08:00 committed by GitHub
commit abf16b08b9
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class IntervalSet(object):
# split existing range
elif v<i.stop-1:
x = Interval(i.start, v)
self.intervals[k] = range(v + 1, i.stop)
self.intervals[k] = Interval(v + 1, i.stop)
self.intervals.insert(k, x)
return
k += 1