]> granicus.if.org Git - python/commitdiff
Add news item for u'%s' change.
authorMarc-André Lemburg <mal@egenix.com>
Fri, 23 Jul 2004 16:14:57 +0000 (16:14 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Fri, 23 Jul 2004 16:14:57 +0000 (16:14 +0000)
Misc/NEWS

index acb6f6245d69d405c2e160093626206f254f33f6..55f5a146127088772f19c00384fa7da6e2b4ee16 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.4 alpha 2?
 Core and builtins
 -----------------
 
+- u'%s' % obj will now try obj.__unicode__() first and fallback to
+  obj.__str__() if no __unicode__ method can be found.
+
 - Patch #550732: Add PyArg_VaParseTupleAndKeywords().  Analogous to
   PyArg_VaParse().  Both are now documented.  Thanks Greg Chapman.