diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-07-05 23:39:56 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-07-05 23:39:56 (GMT) |
commit | bfc644bdbea147b97200fea421a3c1a9ead729f6 (patch) | |
tree | ea4024721ffdca77dfa0f0962aa7406d0a5f9921 /Doc | |
parent | 2b968d6187c07aeaa1caf44b14b39e281cd94cb1 (diff) | |
download | cpython-bfc644bdbea147b97200fea421a3c1a9ead729f6.zip cpython-bfc644bdbea147b97200fea421a3c1a9ead729f6.tar.gz cpython-bfc644bdbea147b97200fea421a3c1a9ead729f6.tar.bz2 |
fix no-op in tutorial
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tutorial/datastructures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index 34d0884..623986e 100644 --- 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:: |