Skip to content

Commit 62fb38d

Browse files
tausbnyoff
andcommitted
Python: Rename otherArgs to implicitArgumentNode
Co-authored-by: yoff <[email protected]>
1 parent 958c798 commit 62fb38d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPublic.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Node getCallArgApproximation() {
369369
}
370370

371371
/** Gets the extracted argument nodes that do not rely on `getCallArg`. */
372-
private Node otherArgs() {
372+
private Node implicitArgumentNode() {
373373
// for potential summaries we allow all normal call arguments
374374
normalCallArg(_, result, _)
375375
or
@@ -387,14 +387,14 @@ class ExtractedArgumentNode extends ArgumentNode {
387387
ExtractedArgumentNode() {
388388
this = getCallArgApproximation()
389389
or
390-
this = otherArgs()
390+
this = implicitArgumentNode()
391391
}
392392

393393
final override predicate argumentOf(DataFlowCall call, ArgumentPosition pos) {
394394
this = call.getArgument(pos) and
395395
call instanceof ExtractedDataFlowCall and
396396
(
397-
this = otherArgs()
397+
this = implicitArgumentNode()
398398
or
399399
this = getCallArgApproximation() and getCallArg(_, _, _, this, _)
400400
)

0 commit comments

Comments
 (0)