thewisenerd / 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