summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-11-23 16:28:12 (GMT)
committerGuido van Rossum <guido@python.org>2002-11-23 16:28:12 (GMT)
commit8b1e74b2741675f9164e1159c1d2495ac3644005 (patch)
treec789b39963bf387b78fd7a53e7b1cdef4f5bb077 /Misc/NEWS
parent6e596b68959db6ef0950ae453fae9818cfbdb375 (diff)
downloadcpython-8b1e74b2741675f9164e1159c1d2495ac3644005.zip
cpython-8b1e74b2741675f9164e1159c1d2495ac3644005.tar.gz
cpython-8b1e74b2741675f9164e1159c1d2495ac3644005.tar.bz2
Touch up the news for dict() keyword args.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS7
1 files changed, 4 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 94caddb..71da82d 100644
--- 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