commit | 891a1ba3b23b5f50c78fd4b03988cf9dd0df218c | [log] [tgz] |
---|---|---|
author | Skip Montanaro <skip@pobox.com> | Sun Jan 16 19:31:40 2005 +0000 |
committer | Skip Montanaro <skip@pobox.com> | Sun Jan 16 19:31:40 2005 +0000 |
tree | 70d2875deef6a4d7b1b6ddb357d29e907541b9ae | |
parent | 5954623bc052ab17799a6b3ffcaaec8d99d977f5 [diff] [blame] |
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: