diff options
author | Georg Brandl <georg@python.org> | 2007-09-03 07:10:24 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-03 07:10:24 (GMT) |
commit | e4ac7504c9fb005d81c710bff40777dc170694a8 (patch) | |
tree | 9ed1a85dd5270233ae9439b13077e9920446d8cb /Doc/tutorial/classes.rst | |
parent | 9d4ba3970fa704599769de3676be319133fcaba4 (diff) | |
download | cpython-e4ac7504c9fb005d81c710bff40777dc170694a8.zip cpython-e4ac7504c9fb005d81c710bff40777dc170694a8.tar.gz cpython-e4ac7504c9fb005d81c710bff40777dc170694a8.tar.bz2 |
Tutorial formatting patch by Robin Stocker.
Diffstat (limited to 'Doc/tutorial/classes.rst')
-rw-r--r-- | Doc/tutorial/classes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 0c4580a..93e77cc 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -769,7 +769,7 @@ Examples:: >>> valedictorian = max((student.gpa, student.name) for student in graduates) >>> data = 'golf' - >>> list(data[i] for i in range(len(data)-1,-1,-1)) + >>> list(data[i] for i in range(len(data)-1, -1, -1)) ['f', 'l', 'o', 'g'] |