summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/fixer_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib2to3/fixer_base.py')
-rw-r--r--Lib/lib2to3/fixer_base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/lib2to3/fixer_base.py b/Lib/lib2to3/fixer_base.py
index c361e61..ae99566 100644
--- a/Lib/lib2to3/fixer_base.py
+++ b/Lib/lib2to3/fixer_base.py
@@ -33,6 +33,8 @@ class BaseFix(object):
explicit = False # Is this ignored by refactor.py -f all?
run_order = 5 # Fixers will be sorted by run order before execution
# Lower numbers will be run first.
+ _accept_type = None # [Advanced and not public] This tells RefactoringTool
+ # which node type to accept when there's not a pattern.
# Shortcut for access to Python grammar symbols
syms = pygram.python_symbols