mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Comment how 'from __future__ import print_function' operates in 3.0.
This commit is contained in:
parent
33dd094fd0
commit
816a168053
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue