[Python-checkins] CVS: python/dist/src/Misc NEWS,1.334,1.335
Fred L. Drake
fdrake@users.sourceforge.net
2001年12月14日 09:08:14 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv28225/Misc
Modified Files:
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.335
diff -C2 -d -r1.334 -r1.335
*** NEWS 2001年12月13日 19:34:00 1.334
--- NEWS 2001年12月14日 17:08:12 1.335
***************
*** 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