From 318cfccb60ae53f47b0f5636c06e6d58af89f568 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 28 Sep 2021 09:36:45 -0400 Subject: Removed some commented code --- python/binaryview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/binaryview.py') 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) -- cgit v1.3.1