Files
openide/python/testData/refactoring/introduceVariable/formattingOfParenthesizedTuplePreserved.py
Mikhail Golubev a66fc1c678 PY-25488 Preserve formatting of extracted collection literals
as it's especially tedious to re-format them each time afterwards and
being surrounded with brackets they are safe to be moved to RHS of an
assignment.

Alternatively, we could leave such inlining only for binary expressions
since they can become syntactically illegal when moved out of the
context with implicit line joining (PY-2862).
2018-06-26 18:09:49 +03:00

4 lines
81 B
Python

func(param=<selection>('foo',
'bar',
'baz')</selection>)