Skip to content
Permalink
Browse files

style nits

  • Loading branch information
Alex Gaynor
Alex Gaynor committed Apr 21, 2013
1 parent dbce6f2 commit bebb8dada03612d45a6591a596f472b49b36bdab
Showing with 5 additions and 5 deletions.
  1. +5 −5 topaz/objects/arrayobject.py
@@ -338,11 +338,11 @@ def method_insert(self, space, i, args_w):
if i < 0:
if i < -length - 1:
raise space.error(space.w_IndexError,
"index %d too small for array; minimum: %d" % (i + 1, -length))
"index %d too small for array; minimum: %d" % (i + 1, -length)
)
i += length + 1
assert i >= 0
j = i
for e in args_w:
self.items_w.insert(j, e)
j += 1
for w_e in args_w:
self.items_w.insert(i, w_e)
i += 1
return self

0 comments on commit bebb8da

Please sign in to comment.
You can’t perform that action at this time.