Why is it that str.replace doesn't work sometimes?

Lie Ryan lie.1296 at gmail.com
Wed Jun 24 17:17:18 EDT 2009


MRAB wrote:

> There's no difference between the two types of quote character. 

a small exception is single-quote can contain double quote but cannot
contain unescaped single quote while double-quote can contain single
quote but cannot contain unescaped double quote.



More information about the Python-list mailing list