[Tutor] Modify inherited methods

Emile van Sebille emile at fenx.com
Wed Apr 28 19:36:22 CEST 2010

On 4/28/2010 9:32 AM Walter Wefft said...
> Emile van Sebille wrote:
>> On 4/28/2010 3:20 AM Walter Wefft said...
>>> You reiterate my point. To say that dict.__init__ can be omitted in a
>>> subclass's __init__ with no effect, is not a correct statement.
>> It wasn't the omitted case that exhibits the difference. When
>> sub-classing, any methods omitted defer to the parent's version so the
>> init from the dict parent happened.
> "omitted in a subclass's __init__", ie. a *call* to the superclass's method

You're right.  Failure to read on my part.  Sorry.


More information about the Tutor mailing list