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/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/plugin.py') diff --git a/python/plugin.py b/python/plugin.py index ae840ea2..2cbc6d0e 100644 --- a/python/plugin.py +++ b/python/plugin.py @@ -34,7 +34,7 @@ from . import lowlevelil from . import mediumlevelil -class PluginCommandContext(object): +class PluginCommandContext: def __init__(self, view): self._view = view self._address = 0 @@ -580,7 +580,7 @@ class PluginCommand(metaclass=_PluginCommandMetaClass): self._type = value -class MainThreadAction(object): +class MainThreadAction: def __init__(self, handle): self.handle = handle @@ -598,7 +598,7 @@ class MainThreadAction(object): core.BNWaitForMainThreadAction(self.handle) -class MainThreadActionHandler(object): +class MainThreadActionHandler: _main_thread = None def __init__(self): -- cgit v1.3.1