David W. Lambert <[EMAIL PROTECTED]> added the comment: When patching py3k/Doc/library/ctypes.rst or ctypes module tree please consider
u"World!" produces a syntax error. These wide character formats produce unintelligible output: for n in range(3,6): code = 'utf_%s'%2**n print(code) printf(b"Hello, %S\n", 'world'.encode(code)) http://mail.python.org/pipermail/python-3000/2008-November/015315.html And that early in the doc this is probably meant to be a simple, somewhat complete example. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4309> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com