Mercurial > cpython-lru_cache-weakref
diff Lib/compiler/future.py @ 36726:bbf16fd024df legacy-trunk
from __future__ import with_statement addon for 'with', mostly written by
Neal.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Tue, 28 Feb 2006 19:02:24 +0000 |
| parents | acaa79e73133 |
| children | fb6bccffbe31 |
line wrap: on
line diff
--- a/Lib/compiler/future.py Tue Feb 28 19:02:05 2006 +0000 +++ b/Lib/compiler/future.py Tue Feb 28 19:02:24 2006 +0000 @@ -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
