Operator Overload! Learn how to change the behavior of equality operators.

Saturday, June 21st, 2008

Tweet By: Mark Mruss Note: This article was first published the November 2007 issue of Python Magazine While the equality operator works great on numbers and strings the fact the way it treats your custom objects really is not that useful. This article looks into overloading the equality operator so that you can easily compare […]