mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
Protection against breaking escaping and formatting of substrings in introduce refactoring (PY-3654)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
print(u"Hel<selection>lo \u00d6sterreich\\!\</selection>n")
|
||||
@@ -0,0 +1 @@
|
||||
print("Hel<selection>lo %</selection>s!" % "World")
|
||||
@@ -0,0 +1,2 @@
|
||||
a = u"lo \u00d6sterreich\\!\n"
|
||||
print(u"Hel" + a + u"\n")
|
||||
@@ -0,0 +1 @@
|
||||
print(u"Hel<selection>lo \u00d6sterreich\\!\n</selection>\n")
|
||||
@@ -0,0 +1,2 @@
|
||||
a = "lo %s"
|
||||
print(("Hel" + a + "!") % "World")
|
||||
@@ -0,0 +1 @@
|
||||
print("Hel<selection>lo %s</selection>!" % "World")
|
||||
Reference in New Issue
Block a user