Minor clarification in tutorial.
This commit is contained in:
parent
00538ffe3a
commit
40383c8f10
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue