comparison .hgsigs @ 31446:9a94239e4f12

py3: use next() to obtain next item from inner generator of generatorset .next attribute does not exist on Python 3. As this function seems to really care about the overhead of the Python interpreter, I follow the way of micro optimization.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 13 Mar 2017 08:53:31 -0700
parents 6b00c3ecd15b
children 68f263f52d2e
comparison
equal deleted inserted replaced
31445:83e080144faf 31446:9a94239e4f12