mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Python: remove example code
This commit is contained in:
@@ -71,9 +71,6 @@ predicate negativeSummaryElement(FlowSummary::SummarizedCallable c, boolean gene
|
|||||||
* This covers all the Python-specific components of a flow summary.
|
* This covers all the Python-specific components of a flow summary.
|
||||||
*/
|
*/
|
||||||
SummaryComponent interpretComponentSpecific(AccessPathToken c) {
|
SummaryComponent interpretComponentSpecific(AccessPathToken c) {
|
||||||
c = "Argument[_]" and // Ruby has this
|
|
||||||
result = FlowSummary::SummaryComponent::argument(any(ParameterPosition pos | pos.isPositional(_)))
|
|
||||||
or
|
|
||||||
c = "ListElement" and
|
c = "ListElement" and
|
||||||
result = FlowSummary::SummaryComponent::listElement()
|
result = FlowSummary::SummaryComponent::listElement()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user