diff options
| author | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-09-08 13:47:41 -0700 |
|---|---|---|
| committer | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-09-08 13:47:41 -0700 |
| commit | a68c1bca7bd35571dd1bab736fd69452eca8394e (patch) | |
| tree | ae3988fac9148839a46d00b40ff32288af062d59 /Lib/lib2to3 | |
| parent | 18a7d2b4555af5f8f8a1c370339e334503b1ec09 (diff) | |
| download | cpython-git-a68c1bca7bd35571dd1bab736fd69452eca8394e.tar.gz | |
Remove legacy "from __future__ import with_statement" lines.
Diffstat (limited to 'Lib/lib2to3')
| -rw-r--r-- | Lib/lib2to3/refactor.py | 2 | ||||
| -rw-r--r-- | Lib/lib2to3/tests/test_parser.py | 2 | ||||
| -rw-r--r-- | Lib/lib2to3/tests/test_pytree.py | 2 | ||||
| -rw-r--r-- | Lib/lib2to3/tests/test_refactor.py | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/Lib/lib2to3/refactor.py b/Lib/lib2to3/refactor.py index b60b9def4d..c5a1aa2d0c 100644 --- a/Lib/lib2to3/refactor.py +++ b/Lib/lib2to3/refactor.py @@ -8,8 +8,6 @@ recursively descend down directories. Imported as a module, this provides infrastructure to write your own refactoring tool. """ -from __future__ import with_statement - __author__ = "Guido van Rossum <guido@python.org>" diff --git a/Lib/lib2to3/tests/test_parser.py b/Lib/lib2to3/tests/test_parser.py index 7fc5537edd..9adb0317fa 100644 --- a/Lib/lib2to3/tests/test_parser.py +++ b/Lib/lib2to3/tests/test_parser.py @@ -6,8 +6,6 @@ parts of the grammar we've changed, we also make sure we can parse the test_grammar.py files from both Python 2 and Python 3. """ -from __future__ import with_statement - # Testing imports from . import support from .support import driver diff --git a/Lib/lib2to3/tests/test_pytree.py b/Lib/lib2to3/tests/test_pytree.py index a611d1715e..177126d545 100644 --- a/Lib/lib2to3/tests/test_pytree.py +++ b/Lib/lib2to3/tests/test_pytree.py @@ -9,8 +9,6 @@ more helpful than printing of (the first line of) the docstring, especially when debugging a test. """ -from __future__ import with_statement - # Testing imports from . import support diff --git a/Lib/lib2to3/tests/test_refactor.py b/Lib/lib2to3/tests/test_refactor.py index 94dc135fac..e9bae5e45d 100644 --- a/Lib/lib2to3/tests/test_refactor.py +++ b/Lib/lib2to3/tests/test_refactor.py @@ -2,8 +2,6 @@ Unit tests for refactor.py. """ -from __future__ import with_statement - import sys import os import codecs |
