summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-14 17:08:12 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-14 17:08:12 (GMT)
commit6c01e25d9f6b33bf7be5d4ae6b6443419761d9ba (patch)
treef979247586af2104bf23513f8279263e4ad44b75 /Misc
parentb062cb22d07acd56c38db7df1981bc02761ada45 (diff)
downloadcpython-6c01e25d9f6b33bf7be5d4ae6b6443419761d9ba.zip
cpython-6c01e25d9f6b33bf7be5d4ae6b6443419761d9ba.tar.gz
cpython-6c01e25d9f6b33bf7be5d4ae6b6443419761d9ba.tar.bz2
Note the tighter complex() parameter checking.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ecc2cfd..903ff37 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.