diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2017-05-23 05:23:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-23 05:23:29 (GMT) |
commit | e8412e684ed741df246e8430f4911b31b0d8be1f (patch) | |
tree | e74ad5f426d1c5f4d8846575c4423c26b9800802 /Python/sysmodule.c | |
parent | d29feccec3ce3dcd9ab3100f8956171c70ec3027 (diff) | |
download | cpython-e8412e684ed741df246e8430f4911b31b0d8be1f.zip cpython-e8412e684ed741df246e8430f4911b31b0d8be1f.tar.gz cpython-e8412e684ed741df246e8430f4911b31b0d8be1f.tar.bz2 |
[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 1b9530c536664276ce866ae602ce04adce0810e1)
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions