summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-06 15:01:06 (GMT)
committerGitHub <noreply@github.com>2017-03-06 15:01:06 (GMT)
commit2e5642422f6234fd8d0c082142b27340e588f96e (patch)
tree8279099d6fc0b034aaeb0be40a1d30d9246afc81 /Misc
parentb76ad5121e2cfa89d6476d700cbcb65b7ffc39ac (diff)
downloadcpython-2e5642422f6234fd8d0c082142b27340e588f96e.zip
cpython-2e5642422f6234fd8d0c082142b27340e588f96e.tar.gz
cpython-2e5642422f6234fd8d0c082142b27340e588f96e.tar.bz2
bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 2 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 81b02fd..bcd0496 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,9 +13,8 @@ Core and Builtins
- bpo-29714: Fix a regression that bytes format may fail when containing zero
bytes inside.
-- bpo-29695: Using "x" as a keyword argument in int(), bool() and float() and
- using "sequence" as a keyword argument in list() and tuple() are deprecated.
- Specify the value as a positional argument instead.
+- bpo-29695: bool(), float(), list() and tuple() no longer take keyword arguments.
+ The first argument of int() can now be passes only as positional argument.
- bpo-28893: Set correct __cause__ for errors about invalid awaitables
returned from __aiter__ and __anext__.