Jorge Cardona added the comment: mm, I thought that was impossible, and that I should be using UserString actually. I didn't notice the big warning at the beginning of the section at the docs.
Sorry, I will change my code. Thanks. On Sat, Nov 3, 2012 at 2:33 PM, Martin v. Löwis <rep...@bugs.python.org>wrote: > > Martin v. Löwis added the comment: > > If you want a class that behaves like a string object, you should subclass > from str. > > ---------- > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue16397> > _______________________________________ > -- Jorge Eduardo Cardona jorgeecard...@gmail.com jo...@cardona.co cardona.co github.com/jorgeecardona ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16397> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com