"\n" in unicode vs "regular" string: is this normal?

Jeff Epler jepler at unpythonic.net
Wed Jan 29 15:16:37 CET 2003

On Wed, Jan 29, 2003 at 12:25:58PM +0100, Eric Brunel wrote:
> Hi all,
> Consider the following class:

This can be demonstrated with slightly simpler code:
>>> class D:
...     def __repr__(self): return unicode("\r\n\t\01\u1234\U12345678")
>>> D()

More information about the Python-list mailing list