mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Python: dict only has one positional argument
This commit is contained in:
@@ -4219,7 +4219,7 @@ module StdlibPrivate {
|
||||
|
||||
override predicate propagatesFlow(string input, string output, boolean preservesValue) {
|
||||
exists(DataFlow::DictionaryElementContent dc, string key | key = dc.getKey() |
|
||||
input = "Argument[0..].DictionaryElement[" + key + "]" and
|
||||
input = "Argument[0].DictionaryElement[" + key + "]" and
|
||||
output = "ReturnValue.DictionaryElement[" + key + "]" and
|
||||
preservesValue = true
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user