Publisher review:Rich Comparison Mixin script implements the full suite of rich comparison operators if __cmp__ is defined. This script implements the full suite of rich comparison operators if __cmp__ is defined.The __cmp__ method is sufficient to provide comparisons between user-defined classes.
However, inheriting from a base class (such as a builtin) which already provides the rich-comparison methods will cause the derrived __cmp__ not to be used. cause the/>
Rich Comparison Mixin 1.0 is a Python script for Programming Methods and Algorithms scripts design by Peter Fein.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
implements the full suite of rich comparison operators if __cmp__ is defined.
Operating system:Windows / Linux / Mac OS / BSD / Solaris