Originally published: 2007-09-16 01:39:35
Last updated: 2007-10-09 07:38:06
Author: kay schluehr
This recipe presents copy_generator(...) which a pure Python function keeping a running generator object and returns a copy of the generator object being in the same state as the original generator object.