]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/__init__.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / compiler / __init__.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/__init__.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/__init__.py
deleted file mode 100644 (file)
index c49ea7a..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-"""Package for parsing and compiling Python source code\r
-\r
-There are several functions defined at the top level that are imported\r
-from modules contained in the package.\r
-\r
-parse(buf, mode="exec") -> AST\r
-    Converts a string containing Python source code to an abstract\r
-    syntax tree (AST).  The AST is defined in compiler.ast.\r
-\r
-parseFile(path) -> AST\r
-    The same as parse(open(path))\r
-\r
-walk(ast, visitor, verbose=None)\r
-    Does a pre-order walk over the ast using the visitor instance.\r
-    See compiler.visitor for details.\r
-\r
-compile(source, filename, mode, flags=None, dont_inherit=None)\r
-    Returns a code object.  A replacement for the builtin compile() function.\r
-\r
-compileFile(filename)\r
-    Generates a .pyc file by compiling filename.\r
-"""\r
-\r
-import warnings\r
-\r
-warnings.warn("The compiler package is deprecated and removed in Python 3.x.",\r
-              DeprecationWarning, stacklevel=2)\r
-\r
-from compiler.transformer import parse, parseFile\r
-from compiler.visitor import walk\r
-from compiler.pycodegen import compile, compileFile\r