mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
This is more complicated than it should be because we need to preserve the useful mtime-based regeneration feature that lib2to3.pgen2.driver.load_grammar has. We only look for the pickled grammar file with pkgutil.get_data and only if the source file does not exist. |
||
|---|---|---|
| .. | ||
| fixes | ||
| pgen2 | ||
| tests | ||
| __init__.py | ||
| __main__.py | ||
| btm_matcher.py | ||
| btm_utils.py | ||
| fixer_base.py | ||
| fixer_util.py | ||
| Grammar.txt | ||
| main.py | ||
| patcomp.py | ||
| PatternGrammar.txt | ||
| pygram.py | ||
| pytree.py | ||
| refactor.py | ||