summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authornegasora <negasora@gmail.com>2018-06-11 19:03:18 -0400
committernegasora <negasora@gmail.com>2018-06-11 19:03:18 -0400
commit3b433195716732f63f352730d481a0a9415639a1 (patch)
tree5577db4c114c81e395767f835818bc79a1976e08 /python/binaryview.py
parent89248d9bdcf24e5ba4e49ae9871161648fd2d5a0 (diff)
Add empty list properties to some classes to allow for visibility
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 0cf25e70..80298304 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -341,6 +341,10 @@ class BinaryViewType(object):
if not isinstance(value, BinaryViewType):
return True
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):