summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-09-28 09:36:45 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-28 13:24:42 -0400
commit318cfccb60ae53f47b0f5636c06e6d58af89f568 (patch)
tree6d51b17b2171f9a8f8cc46f39e853e78a64e50d9 /python/binaryview.py
parentb047323085a3b2c566471b76614fd6fc4594caba (diff)
Removed some commented code
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)