def NextKnot(self):
    try:
      return self.knots[self.index + 1]
    except IndexError:
      return INFINITY
The knot after the once currently indexed.
dataset/ETHPy150Open google/rfmt/formatter/support.py/Solution.NextKnot