Dan Guido wrote:
Hi Diez,

The source of the string literals is ConfigParser, so I can't just
mark them with an 'r'.

Python string literals only exist in Python source code. Functions and methods only return *strings*, not literals. If you mistakenly put the str() representation of a string (such as print gives you) into source code, rather than the repr() output, then you may have trouble.

tjr

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to