mirror of
https://github.com/python/cpython.git
synced 2025-10-24 07:26:11 +00:00
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
|
||
|---|---|---|
| .. | ||
| 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 | ||