mirror of
https://github.com/python/cpython.git
synced 2025-09-15 13:16:12 +00:00
News about dict.pop().
This commit is contained in:
parent
63e40a598d
commit
c69343b69a
1 changed files with 3 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue