~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Lib/test/test_sort.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
 
71
71
            def __cmp__(self, other):
72
72
                return cmp(self.key, other.key)
 
73
            __hash__ = None # Silence Py3k warning
73
74
 
74
75
            def __repr__(self):
75
76
                return "Stable(%d, %d)" % (self.key, self.index)