mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-23 10:14:50 +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
72 B
Python
2 lines
72 B
Python
d = {"fst": 1, "snd": 2}
|
|
print "first is %(fst)s, second is %(snd)s" % d |