summaryrefslogtreecommitdiff
path: root/python/filemetadata.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/filemetadata.py
parente0389d244e6211126267e060a9c61a1e75481b76 (diff)
Don't inherit from object anymore
Diffstat (limited to 'python/filemetadata.py')
-rw-r--r--python/filemetadata.py6
1 files changed, 3 insertions, 3 deletions
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.