Implement rich comparisons rather than relying on cmp().
Implement rich comparisons rather than relying on cmp().

The support for `__cmp__()` is gone in Python 3, so let's just move to
the rich comparison implementation.

jszakmeister/markdown2ctags