mirror of
https://github.com/python/cpython.git
synced 2024-12-19 14:53:39 +08:00
8a5877165e
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. |
||
---|---|---|
.. | ||
__init__.py | ||
conv.py | ||
driver.py | ||
grammar.py | ||
literals.py | ||
parse.py | ||
pgen.py | ||
token.py | ||
tokenize.py |