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/2004-May/044871.html below:

__str__ does not default to __repr__ if a base classhas __str__

[Python-Dev] Python-Dev] Re: __str__ does not default to __repr__ if a base classhas __str__ [Python-Dev] Python-Dev] Re: __str__ does not default to __repr__ if a base classhas __str__alloydflanagan at comcast.net alloydflanagan at comcast.net
Mon May 17 15:16:48 EDT 2004
FWIW, I think the current behavior is correct.  If a __str__() method exists, it exists; we shouldn't treat an inherited method differently from one defined directly in the class.  So I would be very surprised if the inherited __str__() wasn't used.




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