![]() Since black.py is not marked as executable, the shebang in black.py serves no purpose. black should be invoked through its entry point any way. token.py is an internal module without a __name__ == '__main__' block or other executable code. It contains just list of constants and small helper functions. Signed-off-by: Christian Heimes <christian@python.org> |
||
---|---|---|
.. | ||
pgen2 | ||
__init__.py | ||
__init__.pyi | ||
Grammar3.6.4.final.0.pickle | ||
Grammar3.6.5.final.0.pickle | ||
Grammar3.8.0.alpha.0.pickle | ||
Grammar.txt | ||
LICENSE | ||
PatternGrammar3.6.4.final.0.pickle | ||
PatternGrammar3.6.5.final.0.pickle | ||
PatternGrammar3.8.0.alpha.0.pickle | ||
PatternGrammar.txt | ||
pygram.py | ||
pygram.pyi | ||
pytree.py | ||
pytree.pyi | ||
README |
A subset of lib2to3 taken from Python 3.7.0b2. Commit hash: 9c17e3a1987004b8bcfbe423953aad84493a7984 Reasons for forking: - consistent handling of f-strings for users of Python < 3.6.2 - backport of BPO-33064 that fixes parsing files with trailing commas after *args and **kwargs - backport of GH-6143 that restores the ability to reformat legacy usage of `async` - support all types of string literals - better ability to debug (better reprs) - INDENT and DEDENT don't hold whitespace and comment prefixes - ability to Cythonize