diff Doc/tutorial/datastructures.rst @ 48438:a0882bfaf54d

fix no-op in tutorial
author Benjamin Peterson <benjamin@python.org>
date Sat, 05 Jul 2008 23:39:56 +0000
parents f28cbab11acd
children b2c505d4a203
line wrap: on
line diff
--- a/Doc/tutorial/datastructures.rst	Sat Jul 05 23:38:30 2008 +0000
+++ b/Doc/tutorial/datastructures.rst	Sat Jul 05 23:39:56 2008 +0000
@@ -252,7 +252,7 @@
     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::