[Python-checkins] python/dist/src/Lib reconvert.py,1.7,1.8
montanaro at users.sourceforge.net
montanaro at users.sourceforge.net
Sun Jan 16 20:31:48 CET 2005
- Previous message: [Python-checkins] python/dist/src/Python Python-ast.c, 1.1.2.8,
1.1.2.9 ast.c, 1.1.2.54, 1.1.2.55 newcompile.c, 1.1.2.100,
1.1.2.101 symtable.c, 2.10.8.29, 2.10.8.30
- Next message: [Python-checkins] python/dist/src/Misc NEWS,1.1227,1.1228
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9436
Modified Files:
reconvert.py
Log Message:
allow triple-quoted string output from reconvert.quote()
Index: reconvert.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/reconvert.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- reconvert.py 6 Apr 2004 19:42:34 -0000 1.7
+++ reconvert.py 16 Jan 2005 19:31:40 -0000 1.8
@@ -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:
- Previous message: [Python-checkins] python/dist/src/Python Python-ast.c, 1.1.2.8,
1.1.2.9 ast.c, 1.1.2.54, 1.1.2.55 newcompile.c, 1.1.2.100,
1.1.2.101 symtable.c, 2.10.8.29, 2.10.8.30
- Next message: [Python-checkins] python/dist/src/Misc NEWS,1.1227,1.1228
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list