summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-02 13:44:35 (GMT)
committerGuido van Rossum <guido@python.org>2001-09-02 13:44:35 (GMT)
commitaaf80c8c8710ee839061478ebb48b90fdc6c23d2 (patch)
treef6987c0a398faa6416f8d97073d278262c904328
parent25786c0851da8665bdbba948ddb16b23a040bbb2 (diff)
downloadcpython-aaf80c8c8710ee839061478ebb48b90fdc6c23d2.zip
cpython-aaf80c8c8710ee839061478ebb48b90fdc6c23d2.tar.gz
cpython-aaf80c8c8710ee839061478ebb48b90fdc6c23d2.tar.bz2
Add news about dictionary() constructor.
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e87e5d2..9857d6a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -30,6 +30,10 @@ Core
(as implemented by the base class) of an immutable subclass instance
once it is created.
+- The dictionary constructor now takes an optional argument, a
+ mapping-like object, and initializes the dictionary from its
+ (key, value) pairs.
+
- A new built-in type, super, has been added. This facilitates making
"cooperative super calls" in a multiple inheritance setting. For an
explanation, see http://www.python.org/2.2/descrintro.html#cooperation