[pypy-svn] r4850 - pypy/branch/ale_translator_stuff/test

ale at codespeak.net ale at codespeak.net
Thu Jun 3 10:27:33 CEST 2004


Author: ale
Date: Thu Jun  3 10:27:32 2004
New Revision: 4850

Modified:
   pypy/branch/ale_translator_stuff/test/snippet.py
Log:
Added a generator to the snippet collection

Modified: pypy/branch/ale_translator_stuff/test/snippet.py
==============================================================================
--- pypy/branch/ale_translator_stuff/test/snippet.py	(original)
+++ pypy/branch/ale_translator_stuff/test/snippet.py	Thu Jun  3 10:27:32 2004
@@ -377,3 +377,7 @@
     z = Z()
     z.my_attribute = v
     return z.my_method()
+
+def simple_generator():
+    for i in range(5):
+        yield i
\ No newline at end of file



More information about the Pypy-commit mailing list