diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 7 | ||||
| -rw-r--r-- | python/function.py | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 3467dcc3..af7faa32 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -41,7 +41,10 @@ import types import lineardisassembly -class BinaryDataNotification: +class BinaryDataNotification(object): + def __init__(self): + pass + def data_written(self, view, offset, length): pass @@ -1751,7 +1754,7 @@ class BinaryView(object): :rtype: None """ - class WaitEvent: + class WaitEvent(object): def __init__(self): self.cond = threading.Condition() self.done = False diff --git a/python/function.py b/python/function.py index 1843dd3d..7d03585c 100644 --- a/python/function.py +++ b/python/function.py @@ -830,7 +830,7 @@ class DisassemblyTextLine(object): return "<%#x: %s>" % (self.address, str(self)) -class FunctionGraphEdge: +class FunctionGraphEdge(object): def __init__(self, branch_type, arch, target, points): self.type = BranchType(branch_type) self.arch = arch |
