mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 06:39:38 +07:00
PY-21246 Properly wrap injected expressions in parentheses inside f-strings
This commit is contained in:
@@ -1 +1 @@
|
||||
f'{42.attr["item"]:{func()["item"]:5} {MyClass(1, 2).attr:{baz} {quux}}}'
|
||||
f'{(42).attr["item"]:{func()["item"]:5} {MyClass(1, 2).attr:{baz} {quux}}}'
|
||||
Reference in New Issue
Block a user