def cmp(a, b):
        if a < b:
            return -1
        elif a == b:
            return 0
        else:
            return 1
Checking ranges in table iterators (case13)
dataset/ETHPy150Open twisted/twisted/twisted/python/compat.py/cmp--crossover with--dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_tablesMD.py/BasicRangeTestCase.test13_range