diff options
author | Marc-André Lemburg <mal@egenix.com> | 2001-01-20 10:34:52 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2001-01-20 10:34:52 (GMT) |
commit | ebb195b2703b25e0e2d12dcdc56c8c965caf02f7 (patch) | |
tree | f13f4b7fdefbd27cd058269b5e4854453647296f /Misc | |
parent | b0e754d48868bb4f7e3f3a310bbdbe167bc85b80 (diff) | |
download | cpython-ebb195b2703b25e0e2d12dcdc56c8c965caf02f7.zip cpython-ebb195b2703b25e0e2d12dcdc56c8c965caf02f7.tar.gz cpython-ebb195b2703b25e0e2d12dcdc56c8c965caf02f7.tar.bz2 |
Updating NEWS to match the current state of affairs.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -3,13 +3,10 @@ What's New in Python 2.1 alpha 1? Core language, builtins, and interpreter -- There is a new Unicode companion to the builtin str() function - called unistr(). Like str(), it calls either the tp_str slot of - objects or the "__str__" method and converts the returned value - to an Unicode object (in case this is necessary). - - The unistr() is complemented by a new PyObject_Unicode() C API - which behaves in the same way. +- There is a new Unicode companion to the PyObject_Str() API + called PyObject_Unicode(). It behaves in the same way as the + former, but assures that the returned value is an Unicode object + (applying the usual coercion if necessary). - The comparison operators support "rich comparison overloading" (PEP 207). C extension types can provide a rich comparison function in |