commit | eacada8656981db1c90b747a2262cbc8b9eb9815 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Aug 25 11:52:26 2011 +0200 |
committer | Georg Brandl <georg@python.org> | Thu Aug 25 11:52:26 2011 +0200 |
tree | 0aedd5f62b95026ece89eaafb702acc0c4e8fd12 | |
parent | 8a9369bfa4fa01add9b19dced20467cf6803a8d7 [diff] [blame] |
Close #12838: fix range() call.
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index e53facd..268b918 100644 --- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst
@@ -171,7 +171,7 @@ Thus to get the same effect as:: L2 = [] - for i in range[3]: + for i in range(3): L2.append(L1[i]) it is much shorter and far faster to use ::