summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authornegasora <negasora@users.noreply.github.com>2018-06-28 15:26:11 -0400
committerGitHub <noreply@github.com>2018-06-28 15:26:11 -0400
commitf43194868415d45c6fd455b58846ce789d55c19f (patch)
tree6d27f8aa8320e227e6ab2737feeb59f4c974a3c1 /python/binaryview.py
parent4e94633e22288784180ba31c96b8e4a958d513a0 (diff)
parent829917b3bb442d58dbd5f95dc13634ddb7a02a51 (diff)
Merge pull request #1062 from negasora/list_visibility
Add empty list properties to some classes to allow for visibility
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index e0e2fbb3..1e078523 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -366,6 +366,11 @@ class BinaryViewType(object):
return ctypes.addressof(self.handle.contents) != ctypes.addressof(value.handle.contents)
@property
+ def list(self):
+ """Allow tab completion to discover metaclass list property"""
+ pass
+
+ @property
def name(self):
"""BinaryView name (read-only)"""
return core.BNGetBinaryViewTypeName(self.handle)