Minor clarification in tutorial.

This commit is contained in:
Georg Brandl 2016-02-15 17:50:33 +01:00
parent 00538ffe3a
commit 40383c8f10
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ slice notation makes this especially convenient::
>>> words
['defenestrate', 'cat', 'window', 'defenestrate']
With ``for w in words:``, the example would attempt to create an infinite list,
inserting ``defenestrate`` over and over again.
.. _tut-range: