code: def set_position(self, position):
          
          if position < 0:
              position += len(self.checkdefs)
          while position >= len(self.checkdefs):
              self.checkdefs.append(([], []))
          self.position = position
docs: Sets the if-statement position.