Stefan Behnel added the comment:

> the undecorated form will never be visible to any code other than the 
> decorator

Assuming that 1) it's the first and/or only decorator, 2) it's used to
decorate a generator function that returns its own generator and 3) it's
really used as a decorator and not as a general helper function to safely
wrap some object that was created somewhere else.


Python tracker <>
Python-bugs-list mailing list

Reply via email to