Skip to content

Commit

Permalink
Merge pull request #1541 from ericvergnaud/fix-#1538
Browse files Browse the repository at this point in the history
Fix a Python 2 typo
  • Loading branch information
parrt authored Dec 22, 2016
2 parents bec0c36 + 4125fba commit abf16b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/Python2/src/antlr4/IntervalSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def removeOne(self, v):
# 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
Expand Down

0 comments on commit abf16b0

Please sign in to comment.