[Python-checkins] cpython (merge 3.2 -> default): Merge 3.2.

georg.brandl python-checkins at python.org
Thu Aug 25 11:53:01 CEST 2011


http://hg.python.org/cpython/rev/420f3f6d4f46
changeset:   72069:420f3f6d4f46
parent:      72066:f3444d795062
parent:      72068:0abe03195d09
user:        Georg Brandl <georg at python.org>
date:        Thu Aug 25 11:52:39 2011 +0200
summary:
  Merge 3.2.

files:
  Doc/faq/programming.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
--- 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 ::

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list