diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-07-21 12:55:57 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-07-21 12:55:57 (GMT) |
commit | dd6a4edc4554cdb808f08a9ade7e40ed5addc94d (patch) | |
tree | accdbab3c1fe2e088a6437d5598bc921f22c10b0 /Lib/lib2to3/fixer_base.py | |
parent | afcd5f36f00d3a368004c574642175f623ce8ad4 (diff) | |
download | cpython-dd6a4edc4554cdb808f08a9ade7e40ed5addc94d.zip cpython-dd6a4edc4554cdb808f08a9ade7e40ed5addc94d.tar.gz cpython-dd6a4edc4554cdb808f08a9ade7e40ed5addc94d.tar.bz2 |
merge 2to3 improvments
Diffstat (limited to 'Lib/lib2to3/fixer_base.py')
-rw-r--r-- | Lib/lib2to3/fixer_base.py | 2 |
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 |