Mercurial > cpython-lru_cache-weakref
diff Python/thread_lwp.h @ 13402:7fbdb581838f legacy-trunk
Fixed unicode() to use the new API PyUnicode_FromEncodedObject().
This adds support for instance to the constructor (instances
have to define __str__ and can return Unicode objects via that
hook; string return values are decoded into Unicode using the
current default encoding).
| author | Marc-André Lemburg <mal@egenix.com> |
|---|---|
| date | Fri, 07 Jul 2000 13:48:25 +0000 |
| parents | 87ee82e5c56d |
| children | 5b727ab37092 |
