[Python-checkins] CVS: python/dist/src/Misc NEWS,1.334,1.334.2.1

Fred L. Drake fdrake@users.sourceforge.net
Fri, 14 Dec 2001 09:08:46 -0800


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

Modified Files:
      Tag: r22rc1-branch
	NEWS 
Log Message:
Note the tighter complex() parameter checking.

Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.334
retrieving revision 1.334.2.1
diff -C2 -d -r1.334 -r1.334.2.1
*** NEWS	2001/12/13 19:34:00	1.334
--- NEWS	2001/12/14 17:08:44	1.334.2.1
***************
*** 51,54 ****
--- 51,58 ----
    testing the current rules).
  
+ - complex() now only allows the first argument to be a string
+   argument, and raises TypeError if either the second arg is a string
+   or if the second arg is specified when the first is a string.
+ 
  Extension modules