How do I learn operator overriding?

Terry Reedy tjreedy at
Fri Sep 19 21:42:04 CEST 2003

<python at> wrote in message
news:mailman.1063995987.26144.python-list at
> The only problem is that I have no idea how to override operators in
> python.  Can anyone give me a few trivial examples of how it is

Look up 3.3 Special method names & 3.3.6 Emulating numeric types in
ref manual.

> And, on a completely unrelated note, I am getting a truly amazing
> of spam today.  Anyone else?

As in over 1000 fake Microsoft Updates with virus attachments?

Terry J. Reedy

More information about the Python-list mailing list