python: CsInsn's errno() method is missing self argument
This commit is contained in:
parent
f1b05083a7
commit
2bb6bdb08e
|
@ -335,7 +335,7 @@ class CsInsn(object):
|
||||||
return _dict[name]
|
return _dict[name]
|
||||||
|
|
||||||
# get the last error code
|
# get the last error code
|
||||||
def errno():
|
def errno(self):
|
||||||
return _cs.cs_errno(self._cs.csh)
|
return _cs.cs_errno(self._cs.csh)
|
||||||
|
|
||||||
# get the register name, given the register ID
|
# get the register name, given the register ID
|
||||||
|
|
Loading…
Reference in New Issue