Perhaps I am just dumb

Fredrik Lundh fredrik at pythonware.com
Mon Feb 11 07:41:54 EST 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