<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def itervalues(d, **kw):
 """Return an iterator over the values of a dictionary."""

    if not PY2:
        return iter(d.values(**kw))
    return d.itervalues(**kw)