[Python-checkins] CVS: python/dist/src/Misc NEWS,1.314,1.315
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 15 Nov 2001 12:33:13 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv18437
Modified Files:
NEWS
Log Message:
Group dict[ionary] news together; and use dict() instead of
dictionary().
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.314
retrieving revision 1.315
diff -C2 -d -r1.314 -r1.315
*** NEWS 2001/11/15 20:27:54 1.314
--- NEWS 2001/11/15 20:33:10 1.315
***************
*** 19,22 ****
--- 19,26 ----
been renamed to dict. This reflects a decade of common usage.
+ - dict() now accepts an iterable object producing 2-sequences. For
+ example, dict(d.items()) == d for any dictionary d. The argument,
+ and the elements of the argument, can be any iterable objects.
+
- New-style classes can now have a __del__ method, which is called
when the instance is deleted (just like for classic classes).
***************
*** 25,33 ****
instances of new-style classes that have a __dict__ (unless the base
class forbids it).
-
- - dictionary() now accepts an iterable object producing 2-sequences.
- For example, dictionary(d.items()) == d for any dictionary d. The
- argument, and the elements of the argument, can be any iterable
- objects.
- Methods of built-in types now properly check for keyword arguments
--- 29,32 ----