Skip to content

Commit b15fec0

Browse files
Fix qhelp and tests
1 parent 44a678a commit b15fec0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
ql/python/ql/src/Functions/IterReturnsNonSelf.ql
12
ql/python/ql/src/Functions/NonCls.ql
23
ql/python/ql/src/Functions/NonSelf.ql
34
ql/python/ql/src/Functions/ReturnConsistentTupleSizes.ql
45
ql/python/ql/src/Functions/SignatureSpecialMethods.ql
5-
ql/python/ql/src/Functions/IterReturnsNonSelf.ql
66
ql/python/ql/src/Resources/FileNotAlwaysClosed.ql
77
ql/python/ql/src/Variables/LoopVariableCapture/LoopVariableCapture.ql

python/ql/src/Functions/IterReturnsNonSelf.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This ensures that the object is also an iterable; and behaves as expected when u
1111

1212
</overview>
1313
<recommendation>
14-
<p>Ensure that the <code>__iter__</code> method returns <code>self</code>, or is otherwise equivalent as an iterator to <code>self<code>.</p>
14+
<p>Ensure that the <code>__iter__</code> method returns <code>self</code>, or is otherwise equivalent as an iterator to <code>self</code>.</p>
1515

1616
</recommendation>
1717
<example>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
| test.py:5:5:5:23 | Function __iter__ | Iter method of iterator $@ does not return `self`. | test.py:1:1:1:11 | Class Bad1 | Bad1 |
2+
| test.py:41:5:41:23 | Function __iter__ | Iter method of iterator $@ does not return `self`. | test.py:32:1:32:21 | Class FalsePositive1 | FalsePositive1 |

0 commit comments

Comments
 (0)