Skip to content

Commit 46567a5

Browse files
authored
Merge pull request github#3029 from BekaValentine/python-objectapi-to-valueapi-handles
Python: ObjectAPI to ValueAPI: Handles
2 parents ca26fee + f351916 commit 46567a5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import python
33

4-
from ExceptFlowNode ex, Object obj
5-
where ex.handledException_objectapi(obj, _, _)
6-
select ex.getLocation().getStartLine(), ex.toString(), obj.toString()
4+
from ExceptFlowNode ex, Value val
5+
where ex.handledException(val, _, _)
6+
select ex.getLocation().getStartLine(), ex.toString(), val.toString()
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import python
33

4-
from ExceptFlowNode ex, Object obj
5-
where ex.handledException_objectapi(obj, _, _)
6-
select ex.getLocation().getStartLine(), ex.toString(), obj.toString()
4+
from ExceptFlowNode ex, Value val
5+
where ex.handledException(val, _, _)
6+
select ex.getLocation().getStartLine(), ex.toString(), val.toString()
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import python
22

3-
from ExceptFlowNode ex, Object t
4-
where ex.handledException_objectapi(t, _, _)
5-
select ex.getLocation().getStartLine(), ex.toString(), t.toString()
3+
from ExceptFlowNode ex, Value val
4+
where ex.handledException(val, _, _)
5+
select ex.getLocation().getStartLine(), ex.toString(), val.toString()

0 commit comments

Comments
 (0)