Commit b2d20680 authored by Stefan Marr's avatar Stefan Marr

Fixed a reference to array() that was still in the code

Looks like this code is not actually used, at least the reference was not a problem so far.
Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
parent 6ac52a3c
......@@ -152,7 +152,7 @@ class Method(Array):
# we copy the new array because it may be shorter, and we don't
# want to upset whatever dependence there is on the length
self._bytecodes = array('b', [0] * idx)
self._bytecodes = ["\x00"] * len(idx)
for i in range(0, idx):
self._bytecodes[i] = newbc[i]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment