[Python-checkins] python/dist/src/Misc NEWS,1.537,1.538

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Sat, 23 Nov 2002 08:28:15 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv31533

Modified Files:
	NEWS 
Log Message:
Touch up the news for dict() keyword args.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.537
retrieving revision 1.538
diff -C2 -d -r1.537 -r1.538
*** NEWS	23 Nov 2002 12:22:32 -0000	1.537
--- NEWS	23 Nov 2002 16:28:12 -0000	1.538
***************
*** 12,19 ****
  Type/class unification and new-style classes
  --------------------------------------------
! - dict() now accepts keyword arguments so that dict(one=1,two=2)
!   is the equivalent of dict([('one',1),('two',2)]).  Accordingly,
    the existing (but undocumented) 'items' keyword argument has
!   been eliminated. This means that dict(items=someMapping) now has
    a different meaning than before.
  
--- 12,20 ----
  Type/class unification and new-style classes
  --------------------------------------------
! 
! - dict() now accepts keyword arguments so that dict(one=1, two=2)
!   is the equivalent of {"one": 1, "two": 2}.  Accordingly,
    the existing (but undocumented) 'items' keyword argument has
!   been eliminated.  This means that dict(items=someMapping) now has
    a different meaning than before.