A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-March/052151.html below:

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

[Python-Dev] func.update_meta (was: @deprecated) [Python-Dev] func.update_meta (was: @deprecated)Eric Nieuwland eric.nieuwland at xs4all.nl
Mon Mar 14 13:06:01 CET 2005
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(self, other):
>     self.__name__ = other.__name__
>     self.__doc__ = other.__doc__
>     self.__dict__.update(other.__dict__)

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4