summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2024-11-25 09:55:18 -0500
committerBrian Potchik <brian@vector35.com>2024-11-25 09:55:18 -0500
commit2855fed4b2603b7921a0b053e5f27217fe9a46d7 (patch)
tree6a4802202122658ab7bad1080a7fee528bdc84ee /python
parent004afdfbb47d91346191ab63be1d5a5d625704d4 (diff)
Fix placeholder deprecation decorators and versions.
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index e5c832de..cc4749d3 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -2892,12 +2892,12 @@ class BinaryView:
@property
def original_base(self) -> int:
- """Original image base of the binary Deprecated: 4.0.xxxx Use original_image_base instead."""
+ """Original image base of the binary. Deprecated: 4.1.5902 Use `original_image_base` instead."""
return core.BNGetOriginalImageBase(self.handle)
@original_base.setter
def original_base(self, base: int) -> None:
- """Set original image base of the binary. Only intended for binary view implementations. Deprecated: 4.0.xxxx Use original_image_base instead."""
+ """Set original image base of the binary. Only intended for binary view implementations. Deprecated: 4.1.5902 Use `original_image_base` instead."""
return core.BNSetOriginalImageBase(self.handle, base)
@property
@@ -3308,7 +3308,7 @@ class BinaryView:
@property
def allocated_ranges(self) -> List['variable.AddressRange']:
- """List of valid address ranges for this view (read-only) Deprecated: 4.0.xxxx Use mapped_address_ranges instead."""
+ """List of valid address ranges for this view (read-only) Deprecated: 4.1.5902 Use mapped_address_ranges instead."""
count = ctypes.c_ulonglong(0)
range_list = core.BNGetAllocatedRanges(self.handle, count)
assert range_list is not None, "core.BNGetAllocatedRanges returned None"