[docs] [issue10665] Expand unicodedata module documentation

Ezio Melotti report at bugs.python.org
Fri Apr 15 19:15:47 CEST 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

One reason is that unicodedata.lookup actually returns a unicode char, so if we want to show a code snippet that uses unicodedata.lookup we either have to use a unicode literal or limit the chars in the examples to latin1 to make sure it works nice with the PDF generator.

Using escape sequences elsewhere might work, but in some examples it's better to use the actual chars IMHO (except that they don't work with the PDF).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10665>
_______________________________________


More information about the docs mailing list