summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
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 /Doc/whatsnew
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 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 5c5ca14..0749d35 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -169,11 +169,6 @@ Deprecated
both deprecated in Python 3.4 now emit :exc:`DeprecationWarning`. (Contributed
by Matthias Bussonnier in :issue:`29576`)
-- Using *x* as a keyword argument in :func:`int`, :func:`bool` and
- :func:`float` and using *sequence* as a keyword argument in :func:`list`
- and :func:`tuple` are deprecated. Specify the value as a positional argument
- instead. (Contributed by Serhiy Storchaka in :issue:`29695`.)
-
Removed
=======
@@ -192,6 +187,10 @@ API and Feature Removals
Python 3.1, and has now been removed. Use the :func:`~os.path.splitdrive`
function instead.
+* Functions :func:`bool`, :func:`float`, :func:`list` and :func:`tuple` no
+ longer take keyword arguments. The first argument of :func:`int` can now
+ be passes only as positional argument.
+
Porting to Python 3.7
=====================