mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-8989 More robust handling of multiline glued strings with various prefixes and quote types
This commit is contained in:
@@ -0,0 +1 @@
|
||||
s = ""
|
||||
@@ -1,3 +1,6 @@
|
||||
s = ("foo\n"
|
||||
"barbaz\n"
|
||||
"quux\n")
|
||||
s = (u"foo\n"
|
||||
u"bar"
|
||||
r'baz"'
|
||||
"\n"
|
||||
"quux\n"
|
||||
'')
|
||||
@@ -0,0 +1 @@
|
||||
s = """<caret>"""
|
||||
@@ -1,4 +1,4 @@
|
||||
s = ("""<caret>foo
|
||||
bar""" '''baz''' """
|
||||
s = (u"""foo<caret>
|
||||
bar""" r'baz"' """
|
||||
quux
|
||||
""")
|
||||
""" '')
|
||||
Reference in New Issue
Block a user