Merge pull request #1877 from taus-semmle/python-modernise-non-iterator-query

Python: Modernise the `py/non-iterable-in-for-loop` query.
This commit is contained in:
Rebecca Valentine
2019-09-12 11:14:40 -07:00
committed by GitHub
5 changed files with 21 additions and 5 deletions

View File

@@ -1 +1 @@
| statements_test.py:34:5:34:19 | For | $@ of class '$@' may be used in for-loop. | statements_test.py:34:18:34:18 | ControlFlowNode for IntegerLiteral | Non-iterator | file://:Compiled Code:0:0:0:0 | builtin-class int | int |
| statements_test.py:34:5:34:19 | For | $@ of class '$@' may be used in for-loop. | statements_test.py:34:18:34:18 | ControlFlowNode for IntegerLiteral | Non-iterator | file://:0:0:0:0 | builtin-class int | int |