Introduce refactoring for substrings of %-formatted strings with single value (PY-3654)

This commit is contained in:
Andrey Vlasovskikh
2012-12-28 21:38:42 +04:00
parent c229061331
commit e21a930977
4 changed files with 47 additions and 0 deletions
@@ -0,0 +1,2 @@
a = "Hello"
print("%s %s" % (a, "World"))
@@ -0,0 +1 @@
print("<selection>Hello</selection> %s" % "World")