projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b968d6
)
fix no-op in tutorial
author
Benjamin Peterson
<benjamin@python.org>
Sat, 5 Jul 2008 23:39:56 +0000
(23:39 +0000)
committer
Benjamin Peterson
<benjamin@python.org>
Sat, 5 Jul 2008 23:39:56 +0000
(23:39 +0000)
Doc/tutorial/datastructures.rst
patch
|
blob
|
history
diff --git
a/Doc/tutorial/datastructures.rst
b/Doc/tutorial/datastructures.rst
index 34d0884470d9860a66cdaad2f6a12f13f05ec734..623986ecd67a35610d9563f6fca3472776e4df96 100644
(file)
--- a/
Doc/tutorial/datastructures.rst
+++ b/
Doc/tutorial/datastructures.rst
@@
-252,7
+252,7
@@
A more verbose version of this snippet shows the flow explicitly::
for i in [0, 1, 2]:
for row in mat:
print(row[i], end="")
- print
+ print
()
In real world, you should prefer builtin functions to complex flow statements.
The :func:`zip` function would do a great job for this use case::