From 891a1ba3b23b5f50c78fd4b03988cf9dd0df218c Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sun, 16 Jan 2005 19:31:40 +0000 Subject: [PATCH] allow triple-quoted string output from reconvert.quote() --- Lib/reconvert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/reconvert.py b/Lib/reconvert.py index 2c77ee91db5..64bab5b272c 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: