Highlight the right line in rgbled_pot_2 recipe

This commit is contained in:
Dave Jones
2017-07-16 23:49:42 +01:00
parent db4c93940e
commit d609df4297

View File

@@ -399,7 +399,7 @@ Alternatively, the following example is identical, but uses the
:attr:`~SourceMixin.source` property rather than a :keyword:`while` loop: :attr:`~SourceMixin.source` property rather than a :keyword:`while` loop:
.. literalinclude:: examples/rgbled_pot_2.py .. 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` Please note the example above requires Python 3. In Python 2, :func:`zip`
doesn't support lazy evaluation so the script will simply hang. doesn't support lazy evaluation so the script will simply hang.