Skip to content

Commit d7eaf25

Browse files
committed
rename .expression -> .function
1 parent 7481ad0 commit d7eaf25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexStepFunction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class DexStepFunction(CommandBase):
1717
def __init__(self, *args, **kwargs):
1818
if len(args) < 1:
1919
raise TypeError("expected 1 positional argument")
20-
self.expression = str(args[0]) # Function name.
20+
self.function = str(args[0]) # Function name.
2121
self.hit_count = kwargs.pop("hit_count", None)
2222
if kwargs:
2323
raise TypeError(f"unexpected named args: {', '.join(kwargs)}")
@@ -27,7 +27,7 @@ def eval(self):
2727
raise NotImplementedError("DexStepFunction commands cannot be evaled.")
2828

2929
def get_function(self):
30-
return self.expression
30+
return self.function
3131

3232
@staticmethod
3333
def get_name():

0 commit comments

Comments
 (0)