summaryrefslogtreecommitdiff
path: root/python/databuffer.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-06-24 09:19:08 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-05 10:08:09 -0400
commitd37f7abfe4c1b23426b0fbdc85ae31788602ff28 (patch)
treeff106d8d52afc7cb4d85a1378a41e5c72a288c7d /python/databuffer.py
parente0389d244e6211126267e060a9c61a1e75481b76 (diff)
Don't inherit from object anymore
Diffstat (limited to 'python/databuffer.py')
-rw-r--r--python/databuffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/databuffer.py b/python/databuffer.py
index 83e6018c..bb6a8ca5 100644
--- a/python/databuffer.py
+++ b/python/databuffer.py
@@ -23,7 +23,7 @@ import ctypes
# Binary Ninja components
from . import _binaryninjacore as core
-class DataBuffer(object):
+class DataBuffer:
def __init__(self, contents:bytes=b"", handle=None):
if handle is not None:
self.handle = core.handle_of_type(handle, core.BNDataBuffer)