From 6c01e25d9f6b33bf7be5d4ae6b6443419761d9ba Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 14 Dec 2001 17:08:12 +0000 Subject: [PATCH] Note the tighter complex() parameter checking. --- Misc/NEWS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index ecc2cfdfe56..903ff378d0c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -50,6 +50,10 @@ Core and builtins division becomes the default (in the meantime, test_coercion is 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 - gc.get_referents was renamed to gc.get_referrers.