fix no-op in tutorial
authorBenjamin Peterson <benjamin@python.org>
Sat, 5 Jul 2008 23:39:56 +0000 (23:39 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 5 Jul 2008 23:39:56 +0000 (23:39 +0000)
Doc/tutorial/datastructures.rst

index 34d0884470d9860a66cdaad2f6a12f13f05ec734..623986ecd67a35610d9563f6fca3472776e4df96 100644 (file)
@@ -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::