We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e04739 commit 5fe26e5Copy full SHA for 5fe26e5
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/PythonTreeTranslator.java
@@ -665,21 +665,6 @@ private PNode parseString(String[] strings) {
665
if (sb == null) {
666
sb = new StringBuilder();
667
}
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
683
if (isRaw) {
684
sb.append(text);
685
} else {
0 commit comments