Merge branch 'next' of https://github.com/aquynh/capstone into next

This commit is contained in:
Nguyen Anh Quynh 2015-01-12 15:28:22 +08:00
commit 2951e640a4

View File

@ -86,7 +86,7 @@ cdef class CsInsn(object):
# return instruction's machine bytes (which should have @size bytes).
@property
def bytes(self):
return bytearray(self._raw.bytes)[:self._raw.size]
return bytearray(self._raw.bytes[:self._raw.size])
# return instruction's mnemonic.
@property