Fixed escaping % with %% when replacing string concatenation with %-formatting (PY-8588)

This commit is contained in:
Andrey Vlasovskikh
2013-01-30 20:18:50 +04:00
parent 4e3e3e2293
commit 62b23ed17b
4 changed files with 16 additions and 2 deletions
@@ -0,0 +1,2 @@
string = "bar"
some_string = "%%foo %s baz%%" % string
@@ -0,0 +1,2 @@
string = "bar"
some_string = "%foo " <caret>+ string + " baz%"