From d37f7abfe4c1b23426b0fbdc85ae31788602ff28 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 24 Jun 2021 09:19:08 -0400 Subject: Don't inherit from object anymore --- python/databuffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/databuffer.py') 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) -- cgit v1.3.1