3 Jun
2004
3 Jun
'04
8:18 a.m.
Hye-Shik Chang wrote:
On Thu, Jun 03, 2004 at 12:26:43PM +0200, Walter D?rwald wrote:
Tony Meyer wrote:
[...]
! - Unicode type got two new methods now; iswide() and width(). They ! manipulate east asian width information from Unicode TR11.
Should these methods be added to UserString too?
iswide() and width() are for unicode objects only. Please see Martin's reply on addition of the methods to string objects: http://mail.python.org/pipermail/python-dev/2004-June/045153.html
Yes, but UserString.UserString can be used to wrap both str and unicode objects. Bye, Walter Dörwald