<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def itemgetter_handle(tokens):
 """Process implicit itemgetter partials."""

    internal_assert(len(tokens) == 2, "invalid implicit itemgetter args", tokens)
    op, args = tokens
    if op == "[":
        return "_coconut.operator.itemgetter(" + args + ")"
    elif op == "$[":
        return "_coconut.functools.partial(_coconut_igetitem, index=" + args + ")"
    else:
        raise CoconutInternalException("invalid implicit itemgetter type", op)