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 1ca3fac commit e07b733Copy full SHA for e07b733
python/selfie-lib/selfie_lib/Literals.py
@@ -134,13 +134,13 @@ def _parseSinglePython(self, source_with_quotes: str) -> str:
134
source = source_with_quotes[1:-1]
135
to_unescape = self.inline_backslashes(source) # changed from inline_dollar
136
return self._unescape_python(to_unescape)
137
-
+
138
def encodeMultiPython(
139
self, arg: str, escape_leading_whitespace: EscapeLeadingWhitespace
140
) -> str:
141
escape_backslashes = arg.replace("\\", "\\\\")
142
escape_triple_quotes = escape_backslashes.replace(TRIPLE_QUOTE, '\\"\\"\\"')
143
144
def protect_trailing_whitespace(line: str) -> str:
145
if line.endswith(" "):
146
return line[:-1] + "\\u0020"
0 commit comments