summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index be57d330..cc3754a6 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -640,9 +640,9 @@ class _BinaryViewTypeMetaclass(type):
class BinaryViewType(metaclass=_BinaryViewTypeMetaclass):
+ # Used to force Python callback objects to not get garbage collected
_platform_recognizers = {}
def __init__(self, handle:core.BNBinaryViewTypeHandle):
- # Used to force Python callback objects to not get garbage collected
_handle = core.BNBinaryViewTypeHandle
self.handle = ctypes.cast(handle, _handle)