From c9928ccf0184fb3db4b05d7eab8cd366882d513f Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 20 Dec 2008 03:20:23 +0000 Subject: [PATCH] fix syntax --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 2fcf027f887..5e29b67cf25 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -289,7 +289,7 @@ are always available. They are listed here in alphabetical order. :func:`enumerate` is useful for obtaining an indexed series: ``(0, seq[0])``, ``(1, seq[1])``, ``(2, seq[2])``, .... For example: - >>> for i, season in enumerate(['Spring', 'Summer', 'Fall', 'Winter')]: + >>> for i, season in enumerate(['Spring', 'Summer', 'Fall', 'Winter']): ... print(i, season) 0 Spring 1 Summer