def position_after_whitespace(body, start_position):
    """Reads from body starting at start_position until it finds a
    non-whitespace or commented character, then returns the position of
    that character for lexing."""
    body_length = len(body)
    position = start_position
    while position < body_length:
        code = char_code_at(body, position)
        if ignored_whitespace_characters in code:
            position += 1

        elif code == 35:  # #, skip comments
            position += 1
            while position < body_length:
                code = char_code_at(body, position)
                if not (code is not None and (code > 0x001F or code == 0x0009) and code not in (0x000A, 0x000D)):
                    break

                position += 1
        else:
            break
    return position
dataset/ETHPy150Open graphql-python/graphql-core/graphql/core/language/lexer.py/position_after_whitespace/swapped operands of `in`