The portable way that works for python >= 2.6 and python 3 is `next(it)`.