summaryrefslogtreecommitdiff
path: root/lib/python2.7/lib2to3/tests/data/fixers/myfixes/fix_preorder.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python2.7/lib2to3/tests/data/fixers/myfixes/fix_preorder.py')
-rw-r--r--lib/python2.7/lib2to3/tests/data/fixers/myfixes/fix_preorder.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python2.7/lib2to3/tests/data/fixers/myfixes/fix_preorder.py b/lib/python2.7/lib2to3/tests/data/fixers/myfixes/fix_preorder.py
new file mode 100644
index 0000000..b9bfbba
--- /dev/null
+++ b/lib/python2.7/lib2to3/tests/data/fixers/myfixes/fix_preorder.py
@@ -0,0 +1,6 @@
+from lib2to3.fixer_base import BaseFix
+
+class FixPreorder(BaseFix):
+ order = "pre"
+
+ def match(self, node): return False