PY3 next fix

Python2 syntax.next()
Python3 next(syntax)