diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-12-20 03:20:23 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-12-20 03:20:23 (GMT) |
commit | c9928ccf0184fb3db4b05d7eab8cd366882d513f (patch) | |
tree | 0addefb02a3dd4ff3c826165d0c4bf028029fdee /Doc | |
parent | 3d891b66e6b6a7499b605c1027c24e970a61bd7e (diff) | |
download | cpython-c9928ccf0184fb3db4b05d7eab8cd366882d513f.zip cpython-c9928ccf0184fb3db4b05d7eab8cd366882d513f.tar.gz cpython-c9928ccf0184fb3db4b05d7eab8cd366882d513f.tar.bz2 |
fix syntax
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/functions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 2fcf027..5e29b67 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 |