summaryrefslogtreecommitdiff
path: root/Lib/compiler/future.py
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2008-03-19 02:11:30 +0000
committerEric Smith <eric@trueblade.com>2008-03-19 02:11:30 +0000
commit5d5c63f462683e971a4a2d877e78946554aacbf3 (patch)
treec8756cd57516bc9a5eca62079e8137cb4ea7c292 /Lib/compiler/future.py
parentb89a096d6dce43dad60618750ea9c62f770b2e7a (diff)
downloadcpython-git-5d5c63f462683e971a4a2d877e78946554aacbf3.tar.gz
Fixed compiler module so __future__ print_function is compilable.
Diffstat (limited to 'Lib/compiler/future.py')
-rw-r--r--Lib/compiler/future.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/future.py b/Lib/compiler/future.py
index fef189e9e9..d94fcddc7e 100644
--- a/Lib/compiler/future.py
+++ b/Lib/compiler/future.py
@@ -16,7 +16,7 @@ def is_future(stmt):
class FutureParser:
features = ("nested_scopes", "generators", "division",
- "absolute_import", "with_statement")
+ "absolute_import", "with_statement", "print_function")
def __init__(self):
self.found = {} # set