mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
from __future__ import with_statement addon for 'with', mostly written by
Neal.
This commit is contained in:
parent
edc8f1366a
commit
34aa7ba114
16 changed files with 102 additions and 40 deletions
|
@ -15,7 +15,8 @@ def is_future(stmt):
|
|||
|
||||
class FutureParser:
|
||||
|
||||
features = ("nested_scopes", "generators", "division")
|
||||
features = ("nested_scopes", "generators", "division",
|
||||
"absolute_import", "with_statement")
|
||||
|
||||
def __init__(self):
|
||||
self.found = {} # set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue