Commit 891a1ba3 authored by Skip Montanaro's avatar Skip Montanaro

allow triple-quoted string output from reconvert.quote()

parent 5954623b
......@@ -166,7 +166,7 @@ def quote(s, quote=None):
if q in s and altq not in s:
q = altq
else:
assert quote in ('"', "'")
assert quote in ('"', "'", '"""', "'''")
q = quote
res = q
for c in s:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment