mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
Fixed compiler module so __future__ print_function is compilable.
This commit is contained in:
parent
b89a096d6d
commit
5d5c63f462
3 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue