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/filemetadata.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/filemetadata.py') diff --git a/python/filemetadata.py b/python/filemetadata.py index ee8e8271..954467d7 100644 --- a/python/filemetadata.py +++ b/python/filemetadata.py @@ -33,7 +33,7 @@ from . import binaryview ProgressFuncType = Callable[[int, int], bool] ViewName = str -class NavigationHandler(object): +class NavigationHandler: def _register(self, handle) -> None: self._cb = core.BNNavigationHandler() self._cb.context = 0 @@ -74,7 +74,7 @@ class NavigationHandler(object): return NotImplemented -class SaveSettings(object): +class SaveSettings: """ ``class SaveSettings`` is used to specify actions and options that apply to saving a database (.bndb). """ @@ -112,7 +112,7 @@ class _FileMetadataAssociatedDataStore(associateddatastore._AssociatedDataStore) _defaults = {} -class FileMetadata(object): +class FileMetadata: """ ``class FileMetadata`` represents the file being analyzed by Binary Ninja. It is responsible for opening, closing, creating the database (.bndb) files, and is used to keep track of undoable actions. -- cgit v1.3.1