Skip to content

Commit 3112a14

Browse files
Fix qhelp formatting
1 parent de7e611 commit 3112a14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/ql/src/Variables/LoopVariableCapture/LoopVariableCapture.qhelp

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ In the following (BAD) example, a `tasks` list is created, but each task capture
2929
In the following (GOOD) example, each closure has an `i` default parameter, shadowing the outer <code>i</code> variable, the default value of which is determined as the value of the loop variable <code>i</code> at the time the closure is created.
3030
<sample src="examples/good.py" />
3131
In the following (GOOD) example, <code>functools.partial</code> is used to partially evaluate the lambda expression with the value of <code>i</code>.
32-
<sample src="examples/good2.py" />
3332
</p>
33+
<sample src="examples/good2.py" />
34+
3435

3536

3637
</example>

0 commit comments

Comments
 (0)