Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 12 years ago

Jason Grout gravatar image

See the Python documentation: http://docs.python.org/2/reference/datamodel.html#object.__cmp__ and http://docs.python.org/2/reference/datamodel.html#object.__eq__