summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.6.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-06-09 13:30:29 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-06-09 13:30:29 (GMT)
commitf41b82fb19d1b91f99ab657e4c6a751c44152f12 (patch)
treed646a40450ae5321aaa384609fb7b027639363e6 /Doc/whatsnew/3.6.rst
parent339880809a10bc63967b6f94aadc4cd7d406ba54 (diff)
downloadcpython-f41b82fb19d1b91f99ab657e4c6a751c44152f12.zip
cpython-f41b82fb19d1b91f99ab657e4c6a751c44152f12.tar.gz
cpython-f41b82fb19d1b91f99ab657e4c6a751c44152f12.tar.bz2
Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now support
positional-only and keyword parameters in the same function.
Diffstat (limited to 'Doc/whatsnew/3.6.rst')
-rw-r--r--Doc/whatsnew/3.6.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index f438f0b..5dc6076 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -503,6 +503,11 @@ Build and C API Changes
* New :c:func:`Py_FinalizeEx` API which indicates if flushing buffered data
failed (:issue:`5319`).
+* :c:func:`PyArg_ParseTupleAndKeywords` now supports :ref:`positional-only
+ parameters <positional-only_parameter>`. Positional-only parameters are
+ defined by empty names.
+ (Contributed by Serhit Storchaka in :issue:`26282`).
+
Deprecated
==========