cpython/Lib/lib2to3/pgen2
Łukasz Langa e8412e684e [3.6] bpo-23894: make lib2to3 recognize f-strings (GH-1733) (#1737)
Note: this doesn't unpack f-strings into the underlying JoinedStr AST.

Ideally we'd fully implement JoinedStr here but given its additional
complexity, I think this is worth bandaiding as is. This unblocks tools like
https://github.com/google/yapf to format 3.6 syntax using f-strings.
(cherry picked from commit 1b9530c536)
2017-05-22 22:23:29 -07:00
..
__init__.py
conv.py
driver.py lib2to3.pgen3.driver.load_grammar() now creates a stable cache file 2016-09-08 00:40:07 +00:00
grammar.py Fix indentation (reindent.py). 2016-09-08 00:48:07 +00:00
literals.py
parse.py
pgen.py lib2to3.pgen3.driver.load_grammar() now creates a stable cache file 2016-09-08 00:40:07 +00:00
token.py
tokenize.py [3.6] bpo-23894: make lib2to3 recognize f-strings (GH-1733) (#1737) 2017-05-22 22:23:29 -07:00