__str__ vs. __repr__
Gerrit Holl
gerrit.holl at pobox.com
Wed Nov 10 08:13:15 EST 1999
Tim Peters wrote:
> No, in that case it would have been named __representation__. __repr__ is
> actually an acronym, meaning Regular-Expression Parsable Rendition.
> Similarly __str__ is short for Simpler Than Repr. I never learned what
> __init__ stands for -- it never interested Tim <wink>.
:-)
> guess-what-wink-stands-for-and-win-a-fabulous-prize!-ly y'rs - tim
Windows-Is-Not-Kewl?
regards,
Gerrit.
--
linuxgames.nl.linux.org All about games on Linux in Dutch (under construction).
www.nl.linux.org The Dutch resource for Dutch Linux documentation.
www.nl.linux.org/discoverb Learn foreign words and definitions.
www.nl.linux.org/~gerrit/asperger I'm an Asperger, go here for more info.
www.nl.linux.org/~gerrit About me and pictures of me.
More information about the Python-list
mailing list