From: "Martin v. Loewis" <martin@v.loewis.de>
Replying To: Thomas Heller <thomas.heller@ion-tof.com>
Date: Thu, 10 Jan 2002 22:31:06 +0100
Subject: Re: [Python-Dev] unicode/string asymmetries

> >>> unicode("\xa9", "unicode-escape")
> u'\xa9'

As a follow up, in source code, you might want to write

 u"\N{COPYRIGHT SIGN}"

instead, for better readability.

Regards,
Martin

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev