Fixed type of 'iter()' built-in function (PY-10854)