On 9/4/07, Ferenczi Viktor <[EMAIL PROTECTED]> wrote:
>
> > @functools.wraps
>
> Correctly:
>
> @functools.wraps(f)
>
> Pass the function to be wrapped by the decorator to the wraps function.


Ooops, right. That doesn't change the fact that decorated functions get
hidden from doctest though.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to