allow triple-quoted string output from reconvert.quote()
This commit is contained in:
parent
5954623bc0
commit
891a1ba3b2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue