allow triple-quoted string output from reconvert.quote()
diff --git a/Lib/reconvert.py b/Lib/reconvert.py
index 2c77ee9..64bab5b 100755
--- a/Lib/reconvert.py
+++ b/Lib/reconvert.py
@@ -166,7 +166,7 @@
         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: