Mercurial > cpython-lru_cache-weakref
comparison Python/getcompiler.c @ 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 | f79434ee41fa |
comparison
equal
deleted
inserted
replaced
| 13401:8f1a2deeb9b0 | 13402:7fbdb581838f |
|---|
