summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-04-12 19:22:48 (GMT)
committerGuido van Rossum <guido@python.org>2002-04-12 19:22:48 (GMT)
commitc69343b69ab21a2cfc6cfd45b8768a2c1574a8bf (patch)
tree382eb91c7cadc55a28d7b1679b02034b0fbc196d /Misc
parent63e40a598dafceb3040b620e6fd5dc6fec79fc1c (diff)
downloadcpython-c69343b69ab21a2cfc6cfd45b8768a2c1574a8bf.zip
cpython-c69343b69ab21a2cfc6cfd45b8768a2c1574a8bf.tar.gz
cpython-c69343b69ab21a2cfc6cfd45b8768a2c1574a8bf.tar.bz2
News about dict.pop().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index cd61d0e..e4b0bb2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -6,6 +6,9 @@ Type/class unification and new-style classes
Core and builtins
+- Added a new dict method pop(key). This removes and returns the
+ value corresponding to key. [SF patch #539949]
+
- Changed new-style class instantiation so that when C's __new__
method returns something that's not a C instance, its __init__ is
not called. [SF bug #537450]