[Python-3000-checkins] r64752 - python/branches/py3k/Doc/tutorial/datastructures.rst

benjamin.peterson python-3000-checkins at python.org
Sun Jul 6 01:39:56 CEST 2008


Author: benjamin.peterson
Date: Sun Jul  6 01:39:56 2008
New Revision: 64752

Log:
fix no-op in tutorial

Modified:
   python/branches/py3k/Doc/tutorial/datastructures.rst

Modified: python/branches/py3k/Doc/tutorial/datastructures.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/datastructures.rst	(original)
+++ python/branches/py3k/Doc/tutorial/datastructures.rst	Sun Jul  6 01:39:56 2008
@@ -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::


More information about the Python-3000-checkins mailing list