Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix

  • Loading branch information...
commit ed01475956cf467a6988b1945a783443ab05d68e 1 parent 8dca72a
Armin Rigo authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 pypy/module/array/interp_array.py
View
6 pypy/module/array/interp_array.py
@@ -518,11 +518,11 @@ def _mul_helper(space, self, w_repeat, is_inplace):
start = 0
# <a performance hack>
if oldlen == 1:
- if self.unwrap == 'str_w' or self.unwrap == 'unicode_w':
+ if mytype.unwrap == 'str_w' or mytype.unwrap == 'unicode_w':
zero = not ord(self.buffer[0])
- elif self.unwrap == 'int_w' or self.unwrap == 'bigint_w':
+ elif mytype.unwrap == 'int_w' or mytype.unwrap == 'bigint_w':
zero = not widen(self.buffer[0])
- #elif self.unwrap == 'float_w':
+ #elif mytype.unwrap == 'float_w':
# value = ...float(self.buffer[0]) xxx handle the case of -0.0
else:
zero = False
Please sign in to comment.
Something went wrong with that request. Please try again.