commit | 34aa7ba11431a46e72ec30ee7528f2e52adbed7f | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Tue Feb 28 19:02:24 2006 +0000 |
committer | Thomas Wouters <thomas@python.org> | Tue Feb 28 19:02:24 2006 +0000 |
tree | ac399604026430f720f60a7b42264103a747a18c | |
parent | edc8f1366af2d32882649647a7a79873a6cb9503 [diff] [blame] |
from __future__ import with_statement addon for 'with', mostly written by Neal.
diff --git a/Lib/compiler/future.py b/Lib/compiler/future.py index 414e64e..39c3bb9 100644 --- a/Lib/compiler/future.py +++ b/Lib/compiler/future.py
@@ -15,7 +15,8 @@ class FutureParser: - features = ("nested_scopes", "generators", "division") + features = ("nested_scopes", "generators", "division", + "absolute_import", "with_statement") def __init__(self): self.found = {} # set