From bfeba3302e995fdba373603533fce54bf788adff Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Fri, 6 May 2022 00:25:41 -0400 Subject: many pydoc formatting cleanups, added deprecated decorator and replaced ad-hoc messages with consistent decorator --- python/highlevelil.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python/highlevelil.py') 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 -- cgit v1.3.1