# TODO: - wrong versions in versionadded/changed
# - wrong markup after versionchanged directive
-from __future__ import with_statement
-
import os
import re
import sys
provides infrastructure to write your own refactoring tool.
"""
-from __future__ import with_statement
-
__author__ = "Guido van Rossum <guido@python.org>"
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
especially when debugging a test.
"""
-from __future__ import with_statement
-
# Testing imports
from . import support
Unit tests for refactor.py.
"""
-from __future__ import with_statement
-
import sys
import os
import codecs
# NOTE: some gdbs are linked with Python 3, so this file should be dual-syntax
# compatible (2.6+ and 3.0+). See #19308.
-from __future__ import print_function, with_statement
+from __future__ import print_function
import gdb
import os
import locale
In addition to the dependency syntax, #-comments are supported.
"""
-from __future__ import with_statement
import errno
import os
import time
-from __future__ import with_statement
from pybench import Test
class WithFinally(Test):
# This script generates the opcode.h header file.
-from __future__ import with_statement
-
import sys
header = """/* Auto-generated by Tools/scripts/generate_opcode_h.py */
#ifndef Py_OPCODE_H