Skip to content

Commit 2491fda

Browse files
committed
python: update comment
1 parent 6521a51 commit 2491fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ private module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
243243

244244
Node returnOf(Node callable, SummaryComponent return) {
245245
return = FlowSummary::SummaryComponent::return() and
246-
// result should be return value of callable which should be a lambda
246+
// `result` should be the return value of a callable expresion (lambda or function) referenced by `callable`
247247
result.asCfgNode() =
248248
callable.getALocalSource().asExpr().(CallableExpr).getInnerScope().getAReturnValueFlowNode()
249249
}

0 commit comments

Comments
 (0)