]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_ne.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / lib2to3 / fixes / fix_ne.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_ne.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_ne.py
deleted file mode 100644 (file)
index 5fb89fe..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 2006 Google, Inc. All Rights Reserved.\r
-# Licensed to PSF under a Contributor Agreement.\r
-\r
-"""Fixer that turns <> into !=."""\r
-\r
-# Local imports\r
-from .. import pytree\r
-from ..pgen2 import token\r
-from .. import fixer_base\r
-\r
-\r
-class FixNe(fixer_base.BaseFix):\r
-    # This is so simple that we don't need the pattern compiler.\r
-\r
-    _accept_type = token.NOTEQUAL\r
-\r
-    def match(self, node):\r
-        # Override\r
-        return node.value == u"<>"\r
-\r
-    def transform(self, node, results):\r
-        new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)\r
-        return new\r