summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLib/reconvert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/reconvert.py b/Lib/reconvert.py
index 2c77ee91db..64bab5b272 100755
--- a/Lib/reconvert.py
+++ b/Lib/reconvert.py
@@ -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: