diff options
author | Marc-André Lemburg <mal@egenix.com> | 2001-10-19 12:02:29 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2001-10-19 12:02:29 (GMT) |
commit | b5507ecd3cfce17bab26311298f527572611af0b (patch) | |
tree | 81382c5f5faa45adb2c93ad5b6b7f1b040cb954a /Misc/NEWS | |
parent | f6fb171c9d6c0232937518dc00d3d31baeaf84c8 (diff) | |
download | cpython-b5507ecd3cfce17bab26311298f527572611af0b.zip cpython-b5507ecd3cfce17bab26311298f527572611af0b.tar.gz cpython-b5507ecd3cfce17bab26311298f527572611af0b.tar.bz2 |
Additional test and documentation for the unicode() changes.
This patch should also be applied to the 2.2b1 trunk.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ Core and builtins - unicode(obj) now behaves more like str(obj), accepting arbitrary objects, and calling a __unicode__ method if it exists. unicode(obj, encoding) and unicode(obj, encoding, errors) still - require an 8-bit string argument. + require an 8-bit string or character buffer argument. - isinstance() now allows any object as the first argument and a class, a type or something with a __bases__ tuple attribute for the |