summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/datastructures.rst2
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::