Skip to content

Commit 1c8cc6a

Browse files
committed
Python: Add QLDoc for TFunction
1 parent dad6221 commit 1c8cc6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ abstract class LibraryCallable extends string {
256256
}
257257

258258
newtype TDataFlowCallable =
259+
/**
260+
* Is used as the target for all calls: plain functions, lambdas, methods on classes,
261+
* class instantiations, and (in the future) special methods.
262+
*/
259263
TFunction(Function func) {
260264
// For generators/list-comprehensions we create a synthetic function. In the
261265
// points-to call-graph these were not considered callable, and instead we added

0 commit comments

Comments
 (0)