From: Eric Smith Date: Thu, 20 Mar 2008 23:56:08 +0000 (+0000) Subject: Comment how 'from __future__ import print_function' operates in 3.0. X-Git-Tag: v2.6a2~197 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=816a168053544986adaf1fe71d5cbc60f81914c5;p=python Comment how 'from __future__ import print_function' operates in 3.0. --- diff --git a/Lib/test/test_print.py b/Lib/test/test_print.py index e9405c55da..0c46f9baa9 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