Commits

Daniel Szoska  committed 8e7aa7b

only test first version

  • Participants

Comments (0)

Files changed (2)

+class itertest(object):
+    
+    def __init__(self):
+        self.l = [1, 2, 3]
+        
+    def __iter__(self):
+        for i in self.l:
+            yield i
+            
+it = itertest()
+for i in it:
+    print i
+    

File stringio.py.bak

+from cStringIO import StringIO
+
+StringIO(open('test', 'rb').read())