Mathias Panzenböck grosser.meister.morti@... writes:
I think this decorator sould be included in itertools:
from functools import wraps
Or is there already such a thing and I missed it?
It looks pretty cool to me. I'll probably include it in my personal project, and it would be cool if it'll be added to itertools. (Along with many other things that should be added to itertools.)