PY-21244 Handle nested replacement fields in "Convert to f-string" intention

This commit is contained in:
Mikhail Golubev
2016-10-31 18:00:06 +03:00
parent 18ca9ac5cf
commit b71807a0a7
6 changed files with 96 additions and 89 deletions

View File

@@ -0,0 +1 @@
'{0.attr[item]:{foo[item]:5} {bar.attr:{baz}}}'.format(42, foo=func(), bar=MyClass(1, 2), baz=unused)