mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-09 09:55:41 +01:00
Enable Utils.lazy_generator in Python 2
This commit is contained in:
parent
5e4b86b81d
commit
de992ea840
@ -200,6 +200,8 @@ class lazy_generator(object):
|
||||
it = self.it = self.fun(*self.params)
|
||||
return next(it)
|
||||
|
||||
next = __next__
|
||||
|
||||
is_win32 = os.sep == '\\' or sys.platform == 'win32' # msys2
|
||||
"""
|
||||
Whether this system is a Windows series
|
||||
|
Loading…
Reference in New Issue
Block a user