diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-08-27 04:03:26 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-08-27 04:03:26 +0000 |
commit | c87b0b55733a717d67b88e622fd250b2cb33baec (patch) | |
tree | 7b45f4cd812c6793c7e4f009acaa12114d6d9891 /Doc/tutorial/controlflow.rst | |
parent | 1e57a267d3d6b0c901726fb81c63a2345c5b6910 (diff) | |
parent | 058e6a49c6e7b2847286eea5284a89b2757148d9 (diff) | |
download | cpython-c87b0b55733a717d67b88e622fd250b2cb33baec.tar.gz |
Issue #19884: Merge Readline updates from 3.5
Diffstat (limited to 'Doc/tutorial/controlflow.rst')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 12989b2a53..d43461886e 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -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: |