Skip to content

Commit 5fe26e5

Browse files
committed
fix merge
1 parent 4e04739 commit 5fe26e5

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/PythonTreeTranslator.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -665,21 +665,6 @@ private PNode parseString(String[] strings) {
665665
if (sb == null) {
666666
sb = new StringBuilder();
667667
}
668-
}
669-
670-
if (text.endsWith("'''") || text.endsWith("\"\"\"")) {
671-
strStartIndex += 2;
672-
strEndIndex -= 2;
673-
}
674-
675-
text = text.substring(strStartIndex, strEndIndex);
676-
if (isBytes) {
677-
if (isRaw) {
678-
bb.append(text.getBytes());
679-
} else {
680-
bb.append(BytesUtils.fromString(errors, text));
681-
}
682-
} else {
683668
if (isRaw) {
684669
sb.append(text);
685670
} else {

0 commit comments

Comments
 (0)