From 744fbf0c1b3ffb8c679f96ec6a4f78de255a5e20 Mon Sep 17 00:00:00 2001 From: Rasmus Lerchedahl Petersen Date: Tue, 6 Sep 2022 17:46:14 +0200 Subject: [PATCH] Python: qldoc for `inject` --- .../python/dataflow/new/internal/FlowSummaryImplSpecific.qll | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ql/lib/semmle/python/dataflow/new/internal/FlowSummaryImplSpecific.qll b/python/ql/lib/semmle/python/dataflow/new/internal/FlowSummaryImplSpecific.qll index 9337614571f..10a42a466d6 100644 --- a/python/ql/lib/semmle/python/dataflow/new/internal/FlowSummaryImplSpecific.qll +++ b/python/ql/lib/semmle/python/dataflow/new/internal/FlowSummaryImplSpecific.qll @@ -12,6 +12,7 @@ private import semmle.python.dataflow.new.FlowSummary as FlowSummary class SummarizedCallableBase = string; +/** View a `SummarizedCallable` as a `DataFlowCallable`. */ DataFlowCallable inject(SummarizedCallable c) { result.asLibraryCallable() = c } /** Gets the parameter position of the instance parameter. */