mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
Add news about dictionary() constructor.
This commit is contained in:
parent
25786c0851
commit
aaf80c8c87
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue