def __cmp__(self, other):
    if self.loc < other.loc:
      return -1
    if self.loc > other.loc:
      return 1
    return 0
  #end def __cmp__
dataset/ETHPy150Open benoitc/gunicorn/docs/sitemap_gen.py/URL.__cmp__/original