1. Pypy
  2. Untitled project
  3. pypy

Commits

Maciej Fijalkowski  committed 28ab64a

revert this checkin

  • Participants
  • Parent commits 4daed7b
  • Branches default

Comments (0)

Files changed (1)

File rpython/rlib/listsort.py

View file
  • Ignore whitespace
 ##         Adapted from CPython, original code and algorithms by Tim Peters
 
 def make_timsort_class(getitem=None, setitem=None, length=None,
-                       getitem_slice=None, lt=None, base_class=object):
+                       getitem_slice=None, lt=None):
 
     if getitem is None:
         def getitem(list, item):
         def lt(a, b):
             return a < b
 
-    class TimSort(base_class):
+    class TimSort(object):
         """TimSort(list).sort()
 
         Sorts the list in-place, using the overridable method lt() for comparison.