From d609df4297810a827e55bfffb356e2791791d1dd Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Sun, 16 Jul 2017 23:49:42 +0100 Subject: [PATCH] Highlight the right line in rgbled_pot_2 recipe --- docs/recipes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/recipes.rst b/docs/recipes.rst index b04fffe..0f6f26a 100644 --- a/docs/recipes.rst +++ b/docs/recipes.rst @@ -399,7 +399,7 @@ Alternatively, the following example is identical, but uses the :attr:`~SourceMixin.source` property rather than a :keyword:`while` loop: .. literalinclude:: examples/rgbled_pot_2.py - :emphasize-lines: 8 + :emphasize-lines: 9 Please note the example above requires Python 3. In Python 2, :func:`zip` doesn't support lazy evaluation so the script will simply hang.