summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2008-03-20 23:56:08 (GMT)
committerEric Smith <eric@trueblade.com>2008-03-20 23:56:08 (GMT)
commit816a168053544986adaf1fe71d5cbc60f81914c5 (patch)
tree02c511bdae5169c650d48de7612a4dedf6b8b041
parent33dd094fd0a7a9f88011e37036c974e03935d786 (diff)
downloadcpython-816a168053544986adaf1fe71d5cbc60f81914c5.zip
cpython-816a168053544986adaf1fe71d5cbc60f81914c5.tar.gz
cpython-816a168053544986adaf1fe71d5cbc60f81914c5.tar.bz2
Comment how 'from __future__ import print_function' operates in 3.0.
-rw-r--r--Lib/test/test_print.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_print.py b/Lib/test/test_print.py
index e9405c5..0c46f9b 100644
--- a/Lib/test/test_print.py
+++ b/Lib/test/test_print.py
@@ -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