mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-23 15:03:36 +07:00
* Don't process renaming string literal expression if it's PyKeyValueExpression: it corrupts user's code by renaming only key-value expression and leaving substitution key the same * Pass isPercentString as constructor parameter, use PyPsiUtil.flattenParens(), rename method(process...-> resolve...) * Fix false positive with function call and add tests * In percent string resolve to all literal expressions, not only string literal * In RenamePyLiteralExpressionProcessor always throw IncorrectOperationException
2 lines
80 B
Python
2 lines
80 B
Python
ref = {"fst": 1, "snd": 2}
|
|
print "first is {fst}, second is {snd}".format(**ref) |