summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 9dd321c1..29ecced8 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -1307,6 +1307,10 @@ class Tag(object):
return hash(ctypes.addressof(self.handle.contents))
@property
+ def id(self):
+ return core.BNTagGetId(self.handle)
+
+ @property
def type(self):
return TagType(core.BNTagGetType(self.handle))