Commits

Maciej Fijalkowski committed 8f8b6e6

backout 5f1c0d3ad87f

  • Participants
  • Parent commits c7c756c
  • Branches virtual-arguments

Comments (0)

Files changed (2)

File pypy/objspace/std/specialisedtupleobject.py

     if times == 1 and space.type(w_tuple) == space.w_tuple:
         return w_tuple
     items = w_tuple.tolist()
-    if times < 0:
-        times = 0
     return space.newtuple(items * times)
 
 def mul__SpecialisedTuple_ANY(space, w_tuple, w_times):

File pypy/objspace/std/tupleobject.py

     if times == 1 and space.type(w_tuple) == space.w_tuple:
         return w_tuple
     items = w_tuple.wrappeditems
-    if times < 0:
-        times = 0
     return space.newtuple(items * times)
 
 def mul__Tuple_ANY(space, w_tuple, w_times):