Removed a sneaky `xrange` for Python3