On Fri, Jan 30, 2015 at 8:32 AM, alb <al.bas...@gmail.com> wrote: > Ok, that either means I need to upgrade to 3.3 or need to modify the > snippet to a suitable syntax that would work with other versions.
You could replace "yield from child.show2()" with: for val in child.show2(): yield val and it should work. However, you're running Python 3.1, and a *lot* of improvements have been made since then, so it's well worth upgrading. ChrisA -- https://mail.python.org/mailman/listinfo/python-list