[Python-checkins] r61684 - python/trunk/Lib/test/test_print.py

eric.smith python-checkins at python.org
Fri Mar 21 00:56:08 CET 2008


Author: eric.smith
Date: Fri Mar 21 00:56:08 2008
New Revision: 61684

Modified:
   python/trunk/Lib/test/test_print.py
Log:
Comment how 'from __future__ import print_function' operates in 3.0.

Modified: python/trunk/Lib/test/test_print.py
==============================================================================
--- python/trunk/Lib/test/test_print.py	(original)
+++ python/trunk/Lib/test/test_print.py	Fri Mar 21 00:56:08 2008
@@ -1,6 +1,8 @@
 """Test correct operation of the print function.
 """
 
+# In 2.6, this gives us the behavior we want.  In 3.0, it has
+#  no function, but it still must parse correctly.
 from __future__ import print_function
 
 import unittest


More information about the Python-checkins mailing list