Skip to content

Commit 438e664

Browse files
committed
Python: add missing qldoc
More doc is needed, but this should turn the tests green
1 parent a22ea6c commit 438e664

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,11 @@ newtype TNode =
129129
f = any(VariableCapture::CapturedVariable v).getACapturingScope() and
130130
exists(TFunction(f))
131131
} or
132+
/** A synthetic node representing the values of variables captured by a comprehension. */
132133
TSynthCompCapturedVariablesArgumentNode(Comp comp) {
133134
comp.getFunction() = any(VariableCapture::CapturedVariable v).getACapturingScope()
134135
} or
136+
/** A synthetic node representing the values of variables captured by a comprehension after the output has been computed. */
135137
TSynthCompCapturedVariablesArgumentPostUpdateNode(Comp comp) {
136138
comp.getFunction() = any(VariableCapture::CapturedVariable v).getACapturingScope()
137139
} or

0 commit comments

Comments
 (0)