def __AcceptTerminal(self):
    """Accept either a single semi-colon or an empty string.

    Returns:
      True

    Raises:
      BadQueryError if there are unconsumed symbols in the query.
    """

    self.__Accept(';')

    if len(self.__symbols) < self.__next_symbol:
      self.__Error('Expected no additional symbols')
    return True
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/gql/__init__.py/GQL.__AcceptTerminal/swapped operands of `<`