Skip to content

Commit 88be335

Browse files
committed
Python: ObjAPI to ValAPI: WrongNumForArgsInCall: Update affected queries to use objectapi
1 parent 26bdb9a commit 88be335

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import python
22

33
from RaisingNode r, Scope s, ClassObject cls
4-
where r.viableExceptionalExit(s, cls)
4+
where r.viableExceptionalExit_objectapi(s, cls)
55
select r.getLocation().getStartLine(), r, s.toString(), cls
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import python
22

33
from ExceptFlowNode n, ClassObject cls
4-
where n.handles(cls)
4+
where n.handles_objectapi(cls)
55
select n.getLocation().getStartLine(), cls.toString()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import python
22

33
from RaisingNode r, ControlFlowNode n, ClassObject ex
4-
where r.viableExceptionEdge(n, ex)
4+
where r.viableExceptionEdge_objectapi(n, ex)
55
select r.getLocation().getStartLine(), n.getLocation().getStartLine(), r.getNode().toString(),
66
n.getNode().toString(), ex.toString()

0 commit comments

Comments
 (0)