Re: [Python-Dev] func.update_meta (was: @deprecated)

2005-03-14 Thread Nick Coghlan
Eric Nieuwland wrote: Neat! But please add something to the __doc__ so we can also see it was changed. E.g. self.__doc__ = other.__doc__ + os.linesep + "*** deprecated ***" Decorators that alter the signature, or wish to change the docstring can make their modifications after copying from the

Re: [Python-Dev] func.update_meta (was: @deprecated)

2005-03-14 Thread Eric Nieuwland
Neat! But please add something to the __doc__ so we can also see it was changed. E.g. self.__doc__ = other.__doc__ + os.linesep + "*** deprecated ***" On 12 mrt 2005, at 5:25, Nick Coghlan wrote: I like "update_meta" Patch against current CVS added to SF with the behaviour: def update_meta(sel