diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-06 15:01:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 15:01:06 (GMT) |
commit | 2e5642422f6234fd8d0c082142b27340e588f96e (patch) | |
tree | 8279099d6fc0b034aaeb0be40a1d30d9246afc81 /Misc | |
parent | b76ad5121e2cfa89d6476d700cbcb65b7ffc39ac (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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__. |