

def next_or_prev_region(self, direction, regions, point):
    if (direction == 'next'):
        return self.next_region(regions, point)
    else:
        return self.prev_region(point, point)

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusMoveCmd.next_or_prev_region/VarMisuse@45/55 `regions`->`point`