sprhawk / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Add iter() to builtins #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
iter() is a Python builtin that turns a sequence into an iterator.  It's 
definition is petite:

def iter(s):
  for c in s:
    yield c

Original issue reported on code.google.com by dwhall...@gmail.com on 11 Aug 2010 at 3:53

GoogleCodeExporter commented 9 years ago
This code was added (and commented out) to src/lib/__bi.py during Issue #129 
and mainlined in r585.

Original comment by dwhall...@gmail.com on 31 Aug 2010 at 2:33