1.1 --- a/lib/builtins.py Sun Jun 06 15:27:50 2010 +0200
1.2 +++ b/lib/builtins.py Sat Jun 12 01:04:32 2010 +0200
1.3 @@ -367,7 +367,12 @@
1.4 def input(prompt=None): pass
1.5 def isinstance(obj, cls_or_tuple): pass
1.6 def issubclass(obj, cls_or_tuple): pass
1.7 -def iter(collection_or_callable, sentinel=None): pass
1.8 +
1.9 +def iter(collection):
1.10 +
1.11 + "Implementation of iter without callable plus sentinel support."
1.12 +
1.13 + return collection.__iter__()
1.14
1.15 def len(obj):
1.16