diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-07 20:55:41 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-07 20:55:41 +0000 |
commit | d91e57c44e923b6b65396515ff878199d43763a1 (patch) | |
tree | c891ef94238989d3efb004cc3d22a280b642260b /bin/utils/itertools.py | |
parent | 9633dc85c57a0a6de1b088b49e589513087c2720 (diff) | |
download | bitbake-d91e57c44e923b6b65396515ff878199d43763a1.tar.gz |
Initial import.
Diffstat (limited to 'bin/utils/itertools.py')
-rw-r--r-- | bin/utils/itertools.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/utils/itertools.py b/bin/utils/itertools.py deleted file mode 100644 index 790ea07a2..000000000 --- a/bin/utils/itertools.py +++ /dev/null @@ -1,10 +0,0 @@ -"""itertools appeared in Python 2.3 - this module mimicks it (partly)""" - -from __future__ import generators - -def cycle( sequence ): - """Return a cyclic generator iterating over sequence""" - while True: - for element in sequence: - yield element - |