mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove legacy "from __future__ import with_statement" lines.
This commit is contained in:
parent
18a7d2b455
commit
a68c1bca7b
9 changed files with 1 additions and 15 deletions
|
@ -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>"
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
Unit tests for refactor.py.
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import sys
|
||||
import os
|
||||
import codecs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue