Perhaps I am just dumb

Fredrik Lundh fredrik at pythonware.com
Mon Feb 11 13:41:54 CET 2002


Steve Holden wrote:
> > So + has standard behaviour but will  adopt whatever is specified in
> > the __add__ function if one is present for the class.
> >
> > Yes?
>
> Correct

if standard behaviour means "raise a TypeError exception", yes.

if standard behaviour means "add the things in a standard way", no.

</F>





More information about the Python-list mailing list