Skip to content

Commit 6f2cc43

Browse files
committed
Remove imprecise model for tuple()
1 parent 5042fde commit 6f2cc43

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

python/ql/lib/semmle/python/frameworks/Stdlib.qll

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4271,14 +4271,9 @@ module StdlibPrivate {
42714271
preservesValue = true
42724272
)
42734273
or
4274-
(
4275-
input = "Argument[0]" and
4276-
preservesValue = false
4277-
or
4278-
input = "Argument[0].ListElement" and
4279-
preservesValue = true
4280-
) and
4281-
output = "ReturnValue"
4274+
input = "Argument[0].ListElement" and
4275+
output = "ReturnValue" and
4276+
preservesValue = true
42824277
}
42834278
}
42844279

0 commit comments

Comments
 (0)