----- Original Message ----- > Jean-Michel Pichavant <jeanmic...@sequans.com> writes: > > > ----- Original Message ----- > >> Jean-Michel Pichavant wrote: > > [snip] > >> One minor note, the style of decorator you are using loses the > >> docstring > >> (at least) of the original function. I would add the > >> @functools.wraps(func) > >> decorator inside your decorator. > > > > Is there a way to not loose the function signature as well ? > > Look at the "decorator" module. >
Great, thank you. JM -- http://mail.python.org/mailman/listinfo/python-list