On Wed, 28 Apr 2010 08:08:12 am Steven D'Aprano wrote:

> Some people argue that you must call dict.__init__ even though it
> doesn't do anything. Their reasoning is, some day its behaviour might
> change, and if you don't call it in your subclass, then your class
> may break. This is true, as far as it goes, but what they say is that
> if the behaviour of dict.__init__ changes, and you *do* call it, your
> class may still break. (This is why dict is unlikely to change any
> time soon.)

Oops, left out a word. I meant to say "what they *don't* say is...".



-- 
Steven D'Aprano
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to