Fixed compiler module so __future__ print_function is compilable.

This commit is contained in:
Eric Smith 2008-03-19 02:11:30 +00:00
parent b89a096d6d
commit 5d5c63f462
3 changed files with 5 additions and 2 deletions

View file

@ -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