I love the decorator in Python!!!

alex23 wuwei23 at gmail.com
Fri Dec 9 00:02:44 EST 2011


On Dec 9, 2:38 am, Chris Angelico <ros... at gmail.com> wrote:
> One piece of sophistication that I would rather like to see, but don't
> know how to do. Instead of *args,**kwargs, is it possible to somehow
> copy in the function's actual signature? I was testing this out in
> IDLE, and the fly help for the function no longer gave useful info
> about its argument list.

The 3rd party 'decorator' module takes care of issues like docstrings
& function signatures. I'd really like to see some of that
functionality in the stdlib though.




More information about the Python-list mailing list