On Feb 15, 6:31 am, Steven D'Aprano <st...@pearwood.info> wrote:
> Never mind, it was a PEBCAK error. I failed to notice that applying a
> decorator to a function shadows the functions docstring.
>
> Normally I would use functools.wraps, but I am currently limping along on a
> Python 2.4 installation here, which doesn't have it.

You may consider this: http://pypi.python.org/pypi/decorator

             M.S.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to