summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2022-05-06 00:25:41 -0400
committerJordan Wiens <jordan@psifertex.com>2022-05-06 00:25:41 -0400
commitbfeba3302e995fdba373603533fce54bf788adff (patch)
tree2e4aadbb53e43a7022167ecdff4e241474279e6d /python/highlevelil.py
parent245ee620d94a21d5e0005bd634a10bb6163efb64 (diff)
many pydoc formatting cleanups, added deprecated decorator and replaced ad-hoc messages with consistent decorator
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 4ea2aa8f..da055cd4 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -27,6 +27,7 @@ from enum import Enum
# Binary Ninja components
from . import _binaryninjacore as core
from .enums import HighLevelILOperation, DataFlowQueryOption, FunctionGraphType
+from . import decorators
from . import function
from . import binaryview
from . import architecture
@@ -2046,11 +2047,12 @@ ILInstruction = {
}
+@decorators.deprecated
class HighLevelILExpr:
"""
``class HighLevelILExpr`` hold the index of IL Expressions.
- .. note:: Deprecated. Use ExpressionIndex instead
+ .. note:: Use ExpressionIndex instead
"""
def __init__(self, index: ExpressionIndex):
self._index = index