Skip to content

Commit cb73eb1

Browse files
author
Maria Mckinley
committed
fixed lab downloads
1 parent 12caa64 commit cb73eb1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

source/modules/IteratorsAndGenerators.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,6 @@ A simple version of ``range()``
272272
else:
273273
raise StopIteration
274274
275-
:download:`iterator_1.py <../examples/iterators_generators/iterator_1.py>`
276-
277275
278276
What does ``for`` do?
279277
----------------------
@@ -353,7 +351,8 @@ http://treyhunner.com/2016/12/python-iterator-protocol-how-for-loops-work/
353351
LAB
354352
----
355353

356-
In the ``Examples/iterators`` dir, you will find: ``iterator_1.py``
354+
355+
:download:`iterator_1.py <../examples/iterators_generators/iterator_1.py>`
357356

358357
* Extend (``iterator_1.py`` ) to be more like ``range()`` -- add three input parameters: ``iterator_2(start, stop, step\
359358
=1)``
@@ -570,7 +569,7 @@ Write a few generators:
570569

571570
Test code in:
572571

573-
``Examples/iterators/test_generator.py``
572+
:download:`test_generator.py <../examples/iterators_generators/test_generator.py>`
574573

575574
Descriptions:
576575

0 commit comments

Comments
 (0)