Hi,
I'd like to get a code review for the following webrev:
http://cr.opensolaris.org/~dkenny/fix.6997925.slim/
The change made was to move from using repr() to str() for common use, and
quotes applied manually. But, for strings, I continued to use repr() since in
that instance the repr() function does good handling of quotes within strings.
e.g.
strings=(
'"',
"'",
"abc'd",
'abc"d',
"a\"b\"c'd'e" )
for s in strings:
print "%s -> %s" % (str(s), repr(s))
gives:
" -> '"'
' -> "'"
abc'd -> "abc'd"
abc"d -> 'abc"d'
a"b"c'd'e -> 'a"b"c\'d\'e'
Thanks,
Darren.
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss