]> granicus.if.org Git - python/commitdiff
Touch up the news for dict() keyword args.
authorGuido van Rossum <guido@python.org>
Sat, 23 Nov 2002 16:28:12 +0000 (16:28 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 23 Nov 2002 16:28:12 +0000 (16:28 +0000)
Misc/NEWS

index 94caddb5f5b940a0a09ddb4b4b6b1b46c37d063b..71da82daee53cd7ea67a5c64cba2d0e5092375d6 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -11,10 +11,11 @@ What's New in Python 2.3 alpha 1?
 
 Type/class unification and new-style classes
 --------------------------------------------
-- dict() now accepts keyword arguments so that dict(one=1,two=2)
-  is the equivalent of dict([('one',1),('two',2)]).  Accordingly,
+
+- dict() now accepts keyword arguments so that dict(one=1, two=2)
+  is the equivalent of {"one": 1, "two": 2}.  Accordingly,
   the existing (but undocumented) 'items' keyword argument has
-  been eliminated. This means that dict(items=someMapping) now has
+  been eliminated.  This means that dict(items=someMapping) now has
   a different meaning than before.
 
 - int() now returns a long object if the argument is outside the